JDK-8037259 : Xerces Update: XPointer update
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-03-13
  • Updated: 2023-01-10
  • Resolved: 2014-04-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.
Other JDK 9 Other
,shenandoah8u332Resolved 9 b10Fixed naResolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
Update Xerces XPointer:
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/xpointer/

Include Revisions:
Revision 603808: clean up and minor performance improvements
Revision 415823: XERCESJ-1134 Major Xinclude: problems with empty tags
Revision 327077: XERCESJ-1105 Trivial [PATCH] use short circuiting logic
Revision 320580 and 320579 for XPointerHandler.java

Partially include:
Revision 449487 for XPointerPart.java only : javadoc warning

Exclude from this changeset:
Revision 813087 and 809242: leave them till we fix DOMMessageFormatter.java.


Comments
Looks like 8u backport causes a regression in three jck8 api/xinclude tests. Аffected tests: api/xinclude/Nist/Nist-include-38.html#Nist-include-38 api/xinclude/Nist/Nist-include-37.html#Nist-include-37 api/xinclude/Harold/harold-64.html#harold-64 Test output: ----------out1:(2/400)---------- saxTest: Failed. file:/home/tester/jck/JCK-runtime-8c/tests/api/xinclude/Nist/test/docs/nist-include-37.xml(4,91): An include with href '../ents/idtst.xml'failed, and no fallback element was found. domTest: Failed. file:/home/tester/jck/JCK-runtime-8c/tests/api/xinclude/Nist/test/docs/nist-include-37.xml(4,91): An include with href '../ents/idtst.xml'failed, and no fallback element was found. ----------out2:(9/1242)---------- Warning: file:/home/tester/jck/JCK-runtime-8c/tests/api/xinclude/Nist/test/docs/nist-include-37.xml(4,91): Include operation failed, reverting to fallback. Resource error reading file as XML (href='../ents/idtst.xml'). Reason: InvalidXPointerExpression: The XPointer expression 'element(/1/2)xpointer(id('f2'))' is invalid. Fatal error: file:/home/tester/jck/JCK-runtime-8c/tests/api/xinclude/Nist/test/docs/nist-include-37.xml(4,91): An include with href '../ents/idtst.xml'failed, and no fallback element was found. Warning: file:/home/tester/jck/JCK-runtime-8c/tests/api/xinclude/Nist/test/docs/nist-include-37.xml(4,91): Include operation failed, reverting to fallback. Resource error reading file as XML (href='../ents/idtst.xml'). Reason: InvalidXPointerExpression: The XPointer expression 'element(/1/2)xpointer(id('f2'))' is invalid. Fatal error: file:/home/tester/jck/JCK-runtime-8c/tests/api/xinclude/Nist/test/docs/nist-include-37.xml(4,91): An include with href '../ents/idtst.xml'failed, and no fallback element was found. result: Failed. test cases: 2; all failed; first test case failure: saxTest The regression can be fixed by backporting JDK-8041523 to 8u.
15-03-2022

Fix Request [8u] Requesting a backport to 8u as part of JDK-8238164, for Oracle parity. The JDK 9 fix only required cosmetic changes to apply to 8u. 8u webrev: https://cr.openjdk.java.net/~ebaron/jdk8u/JDK-8037259/webrev.00/ Approved by phh: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2022-January/014518.html
31-01-2022

8u RFR: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2022-January/014516.html
24-01-2022

URL: http://hg.openjdk.java.net/jdk9/jdk9/jaxp/rev/56ff46416805 User: lana Date: 2014-04-23 16:11:20 +0000
23-04-2014

URL: http://hg.openjdk.java.net/jdk9/dev/jaxp/rev/56ff46416805 User: dfuchs Date: 2014-04-16 18:09:46 +0000
16-04-2014