The XML Apache Project has released Xerces-J 2.7, a major upgrade to the preeminent open source XML parser for Java.:
This release provides a complete implementation of the parser related portions of JAXP 1.3 and also brings Xerces into compliance with SAX 2.0.2, the DOM Level 3 Core and Load/Save W3C Recommendations, the XML Inclusions (XInclude) Version 1.0 W3C Recommendation and the XML Schema 1.0 Structures and Datatypes Second Edition W3C Recommendations.
Xerces-J 2.7.0 incorporates two minor changes to the Xerces Native Interface. A new package org.apache.xerces.xs.datatypes has been added to Xerces' XML Schema API that provides a full schema datatype to object mapping. In addition, in this release we introduced many new parser features, improved parser performance in several areas and fixed many bugs.
Specifically, the significant changes introduced in this release are:
- Implemented the following packages defined by JAXP 1.3: javax.xml.datatype, javax.xml.parsers and javax.xml.validation.
- Defined and implemented interfaces (org.apache.xerces.xs.datatypes) for accessing actual values.
- Implemented a feature that instructs the schema processor to use all schema location hints for a given target namespace when locating components.
- Implemented partial experimental support for the first working draft of XML Schema 1.1 Structures and Datatypes.
- Implemented features for configuring whether the XInclude processor performs base URI fixup and/or language fixup.
- Implemented the XInclude Recommendation (December 2004).
- Fixed a bug which caused the DTD validator to be activated when using the XInclude processor with schema validation turned on.
- Modified the XNI XMLLocator interface to include getCharacterOffset and getXMLVersion. Added a getCharacterOffset method to XMLParseException.
- Made various modifications to support the reporting of character offsets in XNI and DOM.
- Implemented SAX 2.0.2 and SAX2 Extensions 1.1.
- Fixed SAX conformance bugs including one concerning skipped entities.
- Implemented a feature that allows schema annotations to be validated.
- Added support for generating synthetic annotations when a schema component has non-schema attributes but no child annotation.
- Reimplemented Text.replaceWholeText and TypeInfo.isDerivedFrom according to the DOM Level 3 Core Recommendation.
- Created two new parser configurations that support XML 1.1.
- Improved the performance of the SymbolTable, processing of attribute values and parsing of relative URIs.
- Added support for EntityResolver2 and LSResourceResolver to XMLCatalogResolver.
In addition, many bugs were fixed.