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

Brian Stansberry brian.stansberry at redhat.com
Thu Nov 6 21:09:06 EST 2014

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-integration/src/main/java/org/jboss/as/webservices/dmr/WSSubsystemWriter.java#L62
> will fix it.
> Adding statistics-enabled="false" at the end of the element at
> https://github.com/wildfly/wildfly/blob/master/webservices/server-integration/src/test/resources/org/jboss/as/webservices/dmr/ws-subsystem20.xml#L1
> 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