Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6979306

Xalan, Xerces and Crimson versions in jaxp and Java SE 1.4.2, 5.0 and 6

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 7
    • xml
    • 1.4
    • generic
    • generic
    • Verified

        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.

              joehw Joe Wang
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: