Hello, I have looked through the archive but didn't find an answer to my problem concerning jdk1.4 and Xalan 2.3.1 although there are some people having the same troubles. With jdk1.3 there is no problem running Xalan on the same PC, but I have to upgrade to jdk1.4. Whatever I do the result is: Exception in thread "main" java.lang.ClassCastException: org.apache.xalan.res.XSLTErrorResources_de
This is the result of the enviroment check: #---- BEGIN writeEnvironmentReport($Revision: 1.7 $): Useful properties found: ---- java.version=1.4.0 #---- BEGIN Listing XML-related jars in: foundclasses.java.class.path ---- xalan.jar-apparent.version=xalan.jar WARNING.present-unknown-version xalan.jar-path=/opt/xalan-j_2_3_1/bin/xalan.jar #----- END Listing XML-related jars in: foundclasses.java.class.path ----- version.JAXP=1.1 java.ext.dirs=/opt/j2sdk1.4.0/jre/lib/ext version.crimson=not-present version.SAX=2.0 java.class.path=/opt/xalan-j_2_3_1/bin/xalan.jar:/opt/xalan-j_2_3_1/bin/xml-apis.jar:/opt/xalan-j_2_3_1/bin/xercesImpl.jar version.xerces=not-present sun.boot.class.path=/opt/j2sdk1.4.0/jre/lib/rt.jar:/opt/j2sdk1.4.0/jre/lib/i18n.jar:/opt/j2sdk1.4.0/jre/lib/sunrsasign.jar:/opt/j2sdk1.4.0/jre/lib/jsse.jar:/opt/j2sdk1.4.0/jre/lib/jce.jar:/opt/j2sdk1.4.0/jre/lib/charsets.jar:/opt/j2sdk1.4.0/jre/classes version.DOM.draftlevel=2.0fd version.xalan2=Xalan;Java;Xalan Java 2.2.D11; version.DOM=2.0 version.xalan1=not-present #----- END writeEnvironmentReport: Useful properties found: ----- # YAHOO! Your environment seems to be OK. The classpath is /opt/xalan-j_2_3_1/bin/xalan.jar:/opt/xalan-j_2_3_1/bin/xml-apis.jar:/opt/xalan-j_2_3_1/bin/xercesImpl.jar I started with Xbootclasspath as mentioned in some mails: -Xbootclasspath/p:/opt/xalan-j_2_3_1/bin/xalan.jar;/opt/xalan-j_2_3_1/bin/xercesImpl.jar;/opt/xalan-j_2_3_1/bin/xml-apis.jar I copied the jars from the Xalan distribution into the jdk1.4/jre/lib/ext directory but that didn't work either. Thanks a lot IA, Stefan
