Hi all,
in the following situation:
<xs:element name="Type">
<xs:simpleTyp e>
<xs:restricti on base="xs:NMTOKE N">
<xs:enumerati on value="I"/>
<xs:enumerati on value="J"/>
<xs:enumerati on value="P">
<xs:annotation> P will occur for Primary.</xs:annotation>
</xs:enumeration>
<xs:enumerati on 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:annotatio n> elements.
Is this behavior correct?
--
Sven.