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=17415>. 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=17415 Regexes with large min/max not handled correctly Summary: Regexes with large min/max not handled correctly Product: Xerces2-J Version: 2.3.0 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: XML Schema datatypes AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Xerces incorrectly accepts the following document <test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation='test.xsd'>x</test> as being valid wrt to the following schema <xs:schema xmlns:xs='http://www.w3.org/2001/XMLSchema'> <xs:element name="test"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:pattern value="x{2147483648}"/> </xs:restriction> </xs:simpleType> </xs:element> </xs:schema> (the code doesn't address integer overflow at all) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
