Hi all,
in the following situation:
<xs:element name="Type">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="I"/>
<xs:enumeration value="J"/>
<xs:enumeration value="P">
<xs:annotation>P will occur for Primary.</xs:annotation>
</xs:enumeration>
<xs:enumeration value="S">
<xs:annotation>S will occur for Secondary.</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:element>
which is part of an otherwise valid Schema, xsd.exe fails to generate the
class because of the text in the <xs:annotation> elements.
Is this behavior correct?
--
Sven.