Re: [css2xslfo-support] (no subject)
Brought to you by:
wdonne
From: Andreas J. <li...@zo...> - 2007-01-12 08:17:54
|
Removing the bootclasspath works with. You recommended the bootclasspath some time ago. Obviously this is no longer needed under JDK 1.6. (I am not a Java guru in order to figure out why). But I can detect the JDK Version=20 and care about the proper handling of the bootclasspath Option. Andreas """ Andreas, Xalan should be added to the boot class path. You do that as follows: java -Xbootclasspath/p:<xalan.jar> -jar css2xslfo.jar /home/ajung/test.html Regards, Werner. Andreas Jung wrote: > Jup. > > --On Freitag, 25. M=C3=A4rz 2005 13:38 Uhr +0100 Werner Donn=C3=A9 > <wer...@re...> wrote: > >> Hi Andreas, >> >> Is it JDK 1.5 you are using? >> >> Werner. >> >> Andreas Jung wrote: >> >>> >>> Trying to convert a simple XHTML fails (also when I added xalan.jar to >>> $CLASSPATH): >>> >>> >>> java -jar css2xslfo.jar /home/ajung/test.html >>> Exception in thread "main" >>> javax.xml.transform.TransformerFactoryConfigurationError: Provider >>> org.apache.xalan.processor.TransformerFactoryImpl not found >>> at >>> = javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.ja >>> va:109) >>> >>> at >>> be.re.css.CSSToXSLFOFilter.loadStyleSheet(CSSToXSLFOFilter.java:211) >>> at be.re.css.CSSToXSLFOFilter.<clinit>(CSSToXSLFOFilter.java:39) >>> at be.re.css.CSSToXSLFO.convert(CSSToXSLFO.java:112) >>> at be.re.css.CSSToXSLFO.main(CSSToXSLFO.java:277) >>> """" --On 11. Januar 2007 10:10:07 +0100 Werner Donn=C3=A9 <wer...@re...>=20 wrote: > Hi Andreas, > > I just tried it with the CSSToXSLFO manual and it works fine. > The only difference I see is that I didn't modify the bootclasspath. > It is strange that the class > org.apache.xalan.processor.TransformerFactoryImpl > is the resolution for the transformer factory, because it isn't > specified anywhere and the default factory in JDK1.6.0 is > com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl. At > least I didn't find any other. > > Would you have Xalan somewhere in an extension directory like > /home/ajung/jdk1.6.0/jre/lib/ext? > > Best regards, > > Werner. > > Andreas Jung wrote: >> Hello Werner, >> >> I am trying to run csstoxsl (1.3.X) together under JDK 1.6.0. The same >> code that worked with JDK 1.4 and 1.5 now fails under 1.6. I also tried >> to update >> Xalan to 2.7.1 however without success. >> >> Any ideas what might be the problem? >> >> Andreas >> >> >> 2007-01-11 08:40:34 INFO xslfo running: "/home/ajung/jdk1.6.0/bin/java" >> -Xbootclasspath/p:"/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/hel >> pers/lib/xslfo/lib_xalan/xercesImpl.jar":"/data6/home/sandkasten/ajung/h >> r2_head/COMMON/Zope/helpers/lib/xslfo/lib_xalan/xml-apis.jar" -Xms128m >> -Xmx128m -jar >> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/helpers/lib/xslfo/lib >> _css2xslfo/css2xslfo.jar" >> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/t >> mpN5ZXz6.html" -fo >> "/data6/home/sandkasten/ajung/hr2_head/COMMON/Zope/tmp/xslfo/tmp6B8oxN/t >> mpO_eDkc.html.fo" country=3Den >> 2007-01-11 08:40:34 INFO xslfo exitcode=3D0 >> 2007-01-11 08:40:34 INFO xslfo output: Provider >> org.apache.xalan.processor.TransformerFactoryImpl not found >> >> >> ------------------------------------------------------------------------ >> >> = ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share >> your opinions on IT & business topics through brief surveys - and earn >> cash >> = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3DDEV= DEV >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> css2xslfo-support mailing list >> css...@li... >> https://lists.sourceforge.net/lists/listinfo/css2xslfo-support > > -- > Werner Donn=C3=A9 -- Re > Engelbeekstraat 8 > B-3300 Tienen > tel: (+32) 486 425803 e-mail: wer...@re... --=20 ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 T=C3=BCbingen - Germany Web: www.zopyx.com - Email: in...@zo... - Phone +49 - 7071 - 793376 E-Publishing, Python, Zope & Plone development, Consulting |