JRE 1.4 includes it's own SAX parser (crimson) and earlier versions of Xalan.
Put the newer Xerces+Xalan classes on the boot class path. See the archives of this list for additional notes on this subject, several by yours truly :-)
I added the following argument to the command line:
-Xbootclasspath:\Programs\Java\xalan.jar;\Programs\Java\xercesImpl.jar;
But it still doesn't work. Now I get the following error message:
Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
The complete command in my batch is now this:
@echo off
java -Xbootclasspath:\Programs\Java\xalan.jar;\Programs\Java\xercesImpl.jar;
-Djava.endorsed.dirs=\Programs\Java
-cp \Programs\Java\xalan.jar;\Programs\Java\xml-apis.jar;\Programs\Java\xercesImpl.jar;\Programs\Java\bsf.jar org.apache.xalan.xslt.Process
What's wrong?
Thanks for your help.
Raphaël ext : 618