You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org> on 2007/02/05 16:15:05 UTC

[jira] Created: (XERCESJ-1224) Typo in RangeToken.intersectRanges()

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 j-dev@xerces.apache.org:

> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Commented: (XERCESJ-1224) Typo in RangeToken.intersectRanges()

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
    [ https://issues.apache.org/jira/browse/XERCESJ-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12470246 ] 

Michael Glavassevich commented on XERCESJ-1224:
-----------------------------------------------

Note that the type of regular expression this affects (e.g. "(?[a-r]&[e-z]&[c-ko-s])") is only allowed in non-XML schema mode.

> 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 j-dev@xerces.apache.org:
> > 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Updated: (XERCESJ-1224) Typo in RangeToken.intersectRanges()

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich updated XERCESJ-1224:
------------------------------------------

    Fix Version/s: 2.9.1

> 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
>            Assignee: Michael Glavassevich
>            Priority: Minor
>             Fix For: 2.9.1
>
>
> Reported by Dave Brosius to j-dev@xerces.apache.org:
> > 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Resolved: (XERCESJ-1224) Typo in RangeToken.intersectRanges()

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich resolved XERCESJ-1224.
-------------------------------------------

    Resolution: Fixed

Fixed in SVN thanks to the suggested fix from Dave Brosius.

> 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
>         Assigned To: Michael Glavassevich
>            Priority: Minor
>
> Reported by Dave Brosius to j-dev@xerces.apache.org:
> > 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Assigned: (XERCESJ-1224) Typo in RangeToken.intersectRanges()

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Glavassevich reassigned XERCESJ-1224:
---------------------------------------------

    Assignee: Michael Glavassevich

> 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
>         Assigned To: Michael Glavassevich
>            Priority: Minor
>
> Reported by Dave Brosius to j-dev@xerces.apache.org:
> > 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org