JDK-8035577 : Xerces Update: impl/xpath/regex/RangeToken.java
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-02-21
  • Updated: 2022-09-01
  • Resolved: 2014-03-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9 Other Other
9 b08Fixed naResolved na,openjdk8u332Resolved
Related Reports
Duplicate :  
Relates :  
Description
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xpath/regex/RangeToken.java?view=log

Include Revisions:
            965250 (only included changes in file RangeToken.java), 928735, 827769, 504431

Fixed bugs:
           XERCESJ-1224 Minor Typo in RangeToken.intersectRanges()
           Also fix bug where regular expression intersection returns incorrect value when first range ends later than second range.  Example below.

new RegularExpression("(?[b-d]&[a-r])"); -> returns [b-d] (Correct)
new RegularExpression("(?[a-r]&[b-d])"); -> returns [b-de-r] (Incorrect)

Exclude Revisions:
           329261

Reason to exclude:
            Exclude revision 329261, we don't want to change serialVersionUID that had been set since JDK6.

Revisions already in JAXP sources:
            Verified that revisions prior to and including 320567 are in JAXP sources already

Bug fixes already in JAXP sources:
           XERCESJ-1054 Major Parsing XML sometimes goes wrong
           XERCESJ-1076 Major thread safety issue with schema validation

Comments
Changeset: ecbb85ab Author: David Li <david.x.li@oracle.com> Committer: Joe Wang <joehw@openjdk.org> Date: 2014-03-20 13:38:07 +0000 URL: https://git.openjdk.org/shenandoah-jdk8u/commit/ecbb85ab32678be3800d87df5fca2e08d278fe67
01-09-2022

Approved. Please remember to push to the mono-repo here: http://hg.openjdk.java.net/jdk8u/monojdk8u-dev/
13-12-2021

Fix Request [8u] Requesting a backport as part of the Xerces 2.12.0 update for Oracle parity. JAXP and JDK changesets apply cleanly, and pass jdk_tier1 and jdk_other (includes javax/xml) tests.
19-11-2021

URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/7b2c8d1c7aeb User: lana Date: 2014-04-09 18:28:21 +0000
09-04-2014

URL: http://hg.openjdk.java.net/jdk9/jdk9/jaxp/rev/df0a16f7475a User: lana Date: 2014-04-09 18:27:56 +0000
09-04-2014

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/7b2c8d1c7aeb User: joehw Date: 2014-03-20 20:42:02 +0000
20-03-2014

URL: http://hg.openjdk.java.net/jdk9/dev/jaxp/rev/df0a16f7475a User: joehw Date: 2014-03-20 20:39:47 +0000
20-03-2014