[wildfly-dev] statistics-enabled missing in wildfly-undertow_2_0.xsd
brian.stansberry at redhat.com
Thu Nov 6 21:16:01 EST 2014
Looks like it's just missing from the XSD and from the test case file at
The test passes if that's added, so that shows that the parsing and
marshalling bits work, and it's just the XSD that is wrong.
On 11/6/14, 8:09 PM, Brian Stansberry wrote:
> 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);
>> will fix it.
>> Adding statistics-enabled="false" at the end of the element at
>> will ensure that the subsystem test verifies the marshalling.
Senior Principal Software Engineer
JBoss by Red Hat
More information about the wildfly-dev