DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14662>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14662 minInclusive-valid-restriction error not caught since 2.0.2 Summary: minInclusive-valid-restriction error not caught since 2.0.2 Product: Xerces2-J Version: 2.0.2 Platform: All OS/Version: Windows 9x Status: NEW Severity: Normal Priority: Other Component: XML Schema datatypes AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] There was an error that Xerces Java used to catch but doesn't anymore: with a schema that has these two declarations, <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. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
