Typo in RangeToken.intersectRanges()
------------------------------------

                 Key: XERCESJ-1224
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1224
             Project: Xerces2-J
          Issue Type: Bug
          Components: Other
    Affects Versions: 2.9.0
            Reporter: Michael Glavassevich
            Priority: Minor


Reported by Dave Brosius to [email protected]:

> In org.apache.xerces.impl.xpath.regex.RangeToken.java
> 
> in method protected void intersectRanges(Token token)
> 
> 
> around line 352
> 
> if (src2begin <= src2begin && src1end <= src2end) {
>                                                 // src1:    o--------o
>                                                 // src2:  o------------o
>                                                 // res:     o--------o
>                                                 // Reuse src2
> 
> 
> from the pretty picture, i'd say it should be 
> 
> if (src2begin <= src1begin && src1end <= src2end) {

-- 
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