<xs:simpleType name="monthType">
<xs:restriction base="xs:integer">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="12"/>
</xs:restriction>
</xs:simpleType> <xs:simpleType name="orderMonthType">
<xs:restriction base="monthType">
<!-- wider range (0-12) than for base type (1-12), which is illegal -->
<xs:minInclusive value="0"/>
<xs:maxInclusive value="12"/>
</xs:restriction>
</xs:simpleType>Xerces Java 2.0.1 gave me this error message, which is pretty self-explanatory,
[Error] xjutil1.xsd:48:40: minInclusive-valid-restriction.1: minInclusive value='0' must be >= minInclusive of the base type '1'.
but neither 2.0.2 nor 2.2.1 caught the error. Am I missing something, or should I report this as a bug?
thanks,
Bob DuCharme www.snee.com/bob <bob@ snee.com> "The elements be kind to thee, and make thy spirits all of comfort!" Anthony and Cleopatra, III ii (bobdc e-mail address used only for mailing lists)
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
