Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
-
Operating System: All
Platform: All
-
16628
Description
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)
...