JDK-8038043 : Xerces Update: XInclude update
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.parsers
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-03-20
  • Updated: 2020-01-29
  • Resolved: 2018-02-27
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 11
11 b03Fixed
Related Reports
Relates :  
Description
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/xinclude/

a. XIncludeHandler.java

1. Include revisions
1.1 This class only
    778245, 766488, 699892, 572045, 449487, 422545, 392897, 392315, 320576

    533527 XERCESJ-1247 Major Incorrect location information on SAX when using XInclude
    462944 XERCESJ-1202 Major DTD validation on XIncluded documents when the schema language is set to XML Schema
    392315 XERCESJ-1145 Major XInclude: NPE thrown when checking for recursive includes

1.2 Multiple classes
    539929: XERCESJ-1189 Minor Wrap character encoding related exceptions in the SAXException being reported
    impl/XMLDocumentFragmentScannerImpl.java
    impl/XMLDocumentScannerImpl.java
    impl/XMLErrorReporter.java
    impl/XMLVersionDetector.java
    parsers/AbstractSAXParser.java
    parsers/DOMParser.java
    xinclude/XIncludeHandler.java


    320580 and 320579 (XPointerHandler is to be updated in JDK-8037259, so just bring in change to XIncludeHandler)
xinclude/XIncludeHandler.java
xpointer/XPointerHandler.java

    320577
xinclude/XIncludeHandler.java
xinclude/XIncludeTextReader.java


2. Exclude revisions
    NA

3. Revisions already in JAXP sources
   320556 XERCESJ-1089 Major Validate included document against a DTD if specified
   320529 XERCESJ-1047 Major Error calcuating the Base URI for XML included through the XInclude process.
   320277 XERCESJ-1062 Critical xi:include empty but Xerces reports that it contains include.


4. Related classes
   The following classes contain other major changes, so bring in the changes related to XIncludeHandler.java only for revision 

539929:
    impl/XMLDocumentFragmentScannerImpl.java
    impl/XMLDocumentScannerImpl.java
    impl/XMLErrorReporter.java

    Update the following classes completely since XERCESJ-1089 is the major change for them:
    impl/XMLVersionDetector.java
    parsers/AbstractSAXParser.java
    parsers/DOMParser.java



b. XIncludeTextReader
1. Include revisions
1.1 This class only
    1478179 XERCESJ-1611 Major XIncludeTextReader doesn't handle null Content Types properly
    581481, 572046, 415439

1.2 Multiple classes
    724088
    impl/XMLEntityManager.java (bring in that for this revision only)
    xinclude/XIncludeTextReader.java


    320577 (same as above for XIncludeHandler)
    xinclude/XIncludeHandler.java
    xinclude/XIncludeTextReader.java


2. Exclude revisions
    NA

3. Revisions already in JAXP sources
   320316
   319988 XERCESJ-992 Major Inefficient processing of text includes.


c. Skip the following classes
   ObjectFactory.java
   SecuritySupport.java
   XInclude11TextReader (up to date)
   XIncludeNamespaceSupport (up to date)