[wildfly-dev] statistics-enabled missing in wildfly-undertow_2_0.xsd

Brian Stansberry brian.stansberry at redhat.com
Thu Nov 6 21:05:46 EST 2014

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);



will fix it.

Adding statistics-enabled="false" at the end of the element at


will ensure that the subsystem test verifies the marshalling.

Brian Stansberry
Senior Principal Software Engineer
JBoss by Red Hat

More information about the wildfly-dev mailing list