HERBUEL Alain (DSIT-EX) wrote:
Hello,
We use Windows 2000, Java 2 version 1.4.0, and Xalan version 2.3.1. We've got in our CLASSPATH :
* \xalan.v2-3-1\bin\xalan.jar
* \xalan.v2-3-1\Bin\xml-apis.jar;
* \xalan.v2-3-1\Bin\xercesImpl.jar;
* \xalan.v2-3-1\bin\bsf.jar;
We use the XSL Stylesheet from Norman Walsh version 1-50-0 (we've been using these different version of stylesheets for long time !).
And in this configuration, that does'nt work.
When we just enter the default command line : java org.apache.xalan.xslt.Process, we've got the error :
Exception in thread "main" java.lang.ClassCastException: org.apache.xalan.res.XSLTErrorResources_fr
at org.apache.xalan.xslt.Process.main(Unknown Source)
Glourps... Help !
Alain Herbuel SNCF DSIT-EX/AM 5, place Jules Ferry 69476 LYON cedex 06 - France
E-Mail : [EMAIL PROTECTED] T�l. : (33) (0)4 78 65 41 66 - SNCF : 54 41 66 Fax : (33) (0)4 78 65 45 07 - SNCF : 54 45 07
That seems to be a bug/feature in Xalan with the DocBook-stylesheets from Norman Walsh (Take a look at sourceforge http://sourceforge.net/tracker/index.php?func=detail&aid=508555&group_id=21935&atid=373747 and http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6063 for more details). To solve it I''ve used Saxon instead (version 6.x not 7.0).
An interesting point is, that e.g. the fo-style does not work with xalan 2.3.1 if it is called separately. But if you put the same jars into the classpath and make FOP produce pdf it works.
Bye, Harry ------------------------------------------------------------ Harald Hett <[EMAIL PROTECTED]> Gesellschaft f�r integrierte Systemplanung
-- Harald Hett <[EMAIL PROTECTED]> Gesellschaft f�r integrierte Systemplanung
