RegexParser backreference problem
---------------------------------

                 Key: XERCESJ-1473
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1473
             Project: Xerces2-J
          Issue Type: Bug
            Reporter: Josh Spiegel


In org.apache.xerces.impl.xpath.regex.RegexParser

I think the processBackreference() method has a bug.  

I think this line:
    if ('1' <= ch && ch <= '9') {

Should be:
    if ('0' <= ch && ch <= '9') {

In order to correctly process backreferences where a subsequent digit is 0.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to