JDK-8037819 : Xerces Update: jaxp/validation/XMLSchemaFactory
  • Type: Bug
  • Component: xml
  • Sub-Component: javax.xml.validation
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2014-03-19
  • Updated: 2020-01-29
  • Resolved: 2014-08-29
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 b29Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
http://svn.apache.org/viewvc/xerces/java/trunk/src/org/apache/xerces/jaxp/validation/XMLSchemaFactory.java?view=log

1. Include revisions
1.1 This class only
    450930, 542520, 656094, 699688, 1027335


1.2 Multiple classes
    371617: XERCESJ-1131 Major New Features to support XSLT 2.0 Validation
    impl/Constants.java
    impl/dv/ValidatedInfo.java
    impl/msg/XMLSchemaMessages.properties
    impl/xs/XMLSchemaValidator.java
    jaxp/validation/XMLSchema.java
    jaxp/validation/XMLSchemaFactory.java
    jaxp/validation/XMLSchemaValidatorComponentManager.java
    parsers/StandardParserConfiguration.java
    parsers/XML11Configuration.java


    1400688
    impl/Constants.java
    jaxp/validation/XMLSchemaFactory.java

2. Exclude revisions
    NA

3. Revisions already in JAXP sources
   381134 XERCESJ-1143 Major Propagation of Features from SchemaFactory to Schema/Validator/ValidatorHandler
   693496 XERCESJ-1313 Major JAXP 1.4: Support StAXSource as an input to SchemaFactory
   713638 XERCESJ-1336 Minor Add a new property for setting the locale used for reporting error messages.


4. Related classes
   The following classes contain other major changes, so bring in the changes related to XMLSchemaFactory only, that are revision 371617 and 1400688:
   impl/Constants.java
   impl/dv/ValidatedInfo.java
   impl/msg/XMLSchemaMessages.properties
   impl/xs/XMLSchemaValidator.java
   parsers/StandardParserConfiguration.java
   parsers/XML11Configuration.java

   
    Update the following classes completely:
    jaxp/validation/XMLSchema.java
    jaxp/validation/XMLSchemaValidatorComponentManager.java (including XERCESJ-1142)


Note: do this before JDK-8036951.
Comments
4) Should include revisions: 369542 https://issues.apache.org/jira/browse/XERCESJ-1128
26-08-2014

Test failures: 1) ClassLoader.getSystemResource returned null Fix: construct paths using JTreg property 2) Document, Validator, root node and error handler were reused. However, their values may have been changed by certain tests. Fix: reset before each test 3) Changes to XMLSchemaMessages.properties were missing in previous update, such as XERCESJ-1092. Fix: update XMLSchemaMessages.properties to Revision 371617
23-08-2014