Dear all,
We have a derived type from short in our schema such as: <xs:simpleType name="MyDerivedFromShortType">
<xs:restriction base="xs:short">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="100"/>
</xs:restriction>
</xs:simpleType>When sending an instance document (using document/literal) over the wire with axis (1.2), it is serialized as:
<ns2:MyDerivedFromShort xsi:type="xsd:short">99</ns2:MyDerivedFromShort>
However, I this seems to be incorrect, as MyDerivedFromShort is derived (!) from xs:short but not xs:short itself.
When parsing this with Xerces it will throw
Validation error: LineNumber: 48 ColumnNumber: 2883 Message: cvc-elt.4.3: Type 'xsd:short' is not validly derived from the type definition, 'MyDerivedFromShortType', of element 'ns2:MyDerivedFromShort'.:
I just upgraded to 1.2 final; as far as I can tell this bug was not present in the latest release candidate.
Please let me know if I missed something or if there is any known workaround.
Thanks! -dk
