Ah, sorry, I see this is "undertow" you're asking about.
I'll have a look.
On 11/6/14, 8:05 PM, Brian Stansberry wrote:
On 11/6/14, 7:35 PM, Claudio Miranda wrote:
> It is missing, but the attribute is persisted in xml. The XSD should
> validate it in and not persist the attribute, is that correct ?
>
I don't understand this question.
The xsd declares the attribute, the management metadata says it's
persistent, and the parser reads it, so I think it's just a matter of
not being marshalled. Adding
Attributes.STATISTICS_ENABLED.marshallAsAttribute(subsystem, writer);
after
https://github.com/wildfly/wildfly/blob/master/webservices/server-integra...
will fix it.
Adding statistics-enabled="false" at the end of the element at
https://github.com/wildfly/wildfly/blob/master/webservices/server-integra...
will ensure that the subsystem test verifies the marshalling.
--
Brian Stansberry
Senior Principal Software Engineer
JBoss by Red Hat