JDK-8142900 : Xerces Update: Xerces XPath
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.validation
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-12
  • Updated: 2020-01-29
  • Resolved: 2015-11-16
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
9 b94Fixed
Related Reports
Relates :  
Description
Update JDK/JAXP from Xerces: 

http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/impl/xpath/

Revisions applied:

XPath.java

Revision 965250 (only for the class XPath), 595205
Note that a large chunk of code difference in the webrev was because of different code order from the patch of JDK-6378043 and JDK-6378112 for the added tokens: XPath.Tokens.EXPRTOKEN_AXISNAME_ATTRIBUTE, EXPRTOKEN_AXISNAME_CHILD, EXPRTOKEN_OPERATOR_UNION, EXPRTOKEN_DOUBLE_COLON

regex/CaseInsensitiveMap.java
Revision 834653, 834650 (both were minor changes)

regex/Match
Up to date at Revision 446721

regex/BMPattern, Op, ParseException
Revision 572108 (making several fields final)

regex/ParserForXMLShema
Revision 1638344, 1129316, 1129304 (similar fix as JDK-6971190)

regex/RangeToken 
Revision 965250

regex/REUtil
Revision 828015

regex/RegexParser.java
Revisions 1129306, 1033661

RegularExpression
Up to date at Revision 961928.

Token
Revision 1638344

Fixed bugs:

https://issues.apache.org/jira/browse/XERCESJ-1280
https://issues.apache.org/jira/browse/XERCESJ-1473
https://issues.apache.org/jira/browse/XERCESJ-1511
https://issues.apache.org/jira/browse/XERCESJ-1513 (similar fix as JDK-6971190)
https://issues.apache.org/jira/browse/XERCESJ-1514
https://issues.apache.org/jira/browse/XERCESJ-1651


Comments
In addition to the JDK fixes mentioned above: JDK-8035577 is also merged in this patch. All warnings in the package are fixed: [cast] redundant cast to char in REUtil, RangeToken and Token fallthrough in RegularExpression, RegexParser [rawtypes] in RegexParser
16-11-2015

This patch uses the character list provided in JDK-8069052 but without U+2308 and 2309 because of the change in supporting Unicode 7.0.0 (JDK-8032446).
12-11-2015