Java 9 platform changes

The new XML Catalog API, delivered with Java 9, follows the OASIS XML Catalogs standard, v1.1. Here are the feature and capability highlights:

  • Implements EntityResolver
  • Implements URIResolver
  • Creation of XML Catalogs is possible via the CatalogManager
  • CatalogManager will be used to create CatalogResolvers
  • OASIS open catalog file semantics will be followed
    • Map an external identifier to a URI reference
    • Map a URI reference to another URI reference
  • CatalogResolvers will implement the JAXP EntityResolver interface
  • CatalogResolvers will implement the JAXP URIResolver interface
  • The SAX XMLFilter will be supported by the resolver.

Since the new XML Catalog API will be public, the pre-Java 9 internal catalog resolver will ...

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.