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=16628>. 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=16628 Bug with pattern restriction on long strings Summary: Bug with pattern restriction on long strings Product: Xerces2-J Version: 2.3.0 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: XML Schema Structures AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] There is a bug with applying a pattern restriction on long strings while trying to validate an XML file against a schema. I'm including an xml file and xsd file that demonstrates this problem. One character less in <sequence> and the problem does not occur. As it is, I'm getting java.lang.StackOverflowError at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) at org.apache.xerces.impl.xpath.regex.RegularExpression.matchString(Unknown Source) ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
