Java 9:Building Robust Modular Applications
上QQ阅读APP看书,第一时间看更新

Merging selected Xerces 2.11.0 updates into JAXP [JEP 255]

Xerces is a library used for parsing XML in Java. It was updated to 2.11.0 in late 2010, so JEP 255's aim was to update JAXP to incorporate changes in Xerces 2.11.0.

JAXP is Java's API for XML processing.

Prior to Java 9, the JDK's latest update regarding XML processing was based on Xerces 2.7.1. There were some additional changes to JDK 7 based on Xerces, 2.10.0. JEP 255 is a further refinement of the JAXP based on Xerces 2.11.0.

Xerces 2.11.0 supports the following standards:

  • XML 1.0, Fourth Edition
  • Namespaces in XML 1.0, Second Edition
  • XML 1.1, Second Edition
  • Namespaces in XML 1.1, Second Edition
  • XML Inclusions 1.0, Second Edition
  • Document Object Model (DOM)
    • Level 3
      • Core
      • Load & save
    • Level 2
      • Core
      • Events
  • Traversal & Range
  • Element Traversal, First Edition
  • Simple API for XML 2.0.2
  • Java APIs for XML Processing (JAXP) 1.4
  • Streaming API for XML 1.0
  • XML Schema 1.0
  • XML Schema 1.1
  • XML Schema Definition Language

The JDK was updated to include the following Xerces 2.11.0 categories:

  • Catalog resolver
  • Datatypes
  • Document Object Model Level 3
  • XML Schema Validation
  • XPointer

The public API for JAXP was not changed in Java 9.