JEP 255: Merge Selected Xerces 2.11.0 Updates into JAXP

OwnerJoe Wang
Created2014/05/28 04:16
Updated2016/12/22 18:22
TypeFeature
StatusClosed / Delivered
Componentxml / jaxp
ScopeJDK
Discussioncore dash libs dash dev at openjdk dot java dot net
EffortM
DurationM
Priority2
Reviewed byAlan Bateman, Lance Andersen, Roger Riggs
Endorsed byBrian Goetz
Release9
Issue8044086

Summary

Upgrade the version of the Xerces XML parser included in the JDK with important changes from Xerces 2.11.0.

Non-Goals

The JDK's copy of Xerces contains many changes and improvements that are JDK-specific. It is not a goal to completely synchronize the JDK codebase with that of the Apache Xerces Project.

Success Metrics

Motivation

The JDK contains the older Xerces 2.7.1 parser. During the development of JDK 7, it was updated with all critical and many major changes from Xerces 2.10.0. Since then, Xerces 2.11.0 was released. Upgrading to the latest release will help improve the quality of the JDK implementation.

Description

Update the JDK with changes in the following categories from Xerces 2.11.0:

There will be no changes to the JAXP public API.

This update will be done in batches. Not every revision may be tested individually.

Testing

Risks and Assumptions

Since the integration of Xerces 2.7.1 into JDK 6, many JDK-specific bug fixes, improvements, and feature additions were implemented independently of the Apache Xerces Project. This includes the incorporation of the StAX parser, which shared and modified the scanner implementation from Xerces. Some Xerces patches therefore may need to be modified to resolve conflicts.