JDK-6979306 : Xalan, Xerces and Crimson versions in jaxp and Java SE 1.4.2, 5.0 and 6
  • Type: Bug
  • Component: xml
  • Sub-Component: jaxp
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-08-23
  • Updated: 2012-06-08
  • Resolved: 2011-01-04
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.
Other JDK 7
1.4.0 1.4Fixed 7Fixed
Description
Questions about Xerces and Xalan versions used in JAXP and JDKs have been asked many times.

The com.sun.org.apache.xalan.internal.xslt.EnvironmentCheck and Version classes (com.sun.org.apache.xerces.internal.impl.Version, com.sun.org.apache.xalan.internal.Version, com.sun.org.apache.xml.internal.serializer.Version) return incorrect version numbers and other information.

EnvironmentCheck currently returns:
#---- BEGIN writeEnvironmentReport($Revision: 1.9 $): Useful stuff found: ----
version.DOM.draftlevel=2.0fd
java.class.path=.;C:\Sun\Java\jre6\lib\ext\QTJava.zip
version.JAXP=1.1 or higher
java.ext.dirs=C:\Sun\Java\jdk1.5.0_17\jre\lib\ext
version.xerces2=Xerces-J 2.6.2
version.xerces1=not-present
version.xalan2_2=Xalan Java 2.6.0
version.xalan1=not-present
version.ant=not-present
java.version=1.5.0_17
version.DOM=2.0
version.crimson=not-present
sun.boot.class.path=C:\Sun\Java\jdk1.5.0_17\jre\lib\endorsed\jaxp-api.jar;C:\Sun\Java\jdk1.5.0_17\jre\lib\endorsed\jaxp-ri.jar;C:\Sun\Java\jdk1.5.0_17\jre\lib\r
t.jar;C:\Sun\Java\jdk1.5.0_17\jre\lib\i18n.jar;C:\Sun\Java\jdk1.5.0_17\jre\lib\sunrsasign.jar;C:\Sun\Java\jdk1.5.0_17\jre\lib\jsse.jar;C:\Sun\Java\jdk1.5.0_17\j
re\lib\jce.jar;C:\Sun\Java\jdk1.5.0_17\jre\lib\charsets.jar;C:\Sun\Java\jdk1.5.0_17\jre\classes
version.SAX=2.0
version.xalan2x=not-present
#----- END writeEnvironmentReport: Useful properties found: -----
# YAHOO! Your environment seems to be OK.

Comments
EVALUATION Patch checked in on 12/07/10.
04-01-2011

EVALUATION Have fix. Jaxp-sources is currently being migrated to kenai. Will check in once the sources is available.
01-12-2010

EVALUATION Note that the correct versions currently in jaxp 1.4 and jdk6 and 7 are: Xerces 2.7.1 Xalan 2.7.
23-08-2010