Andreas L. Delmelle wrote:
 > Should be quite simple really: replace the Xalan jar in your JVM's
'lib/endorsed' directory with Saxon's jar.

Note that this will wreck all Java applications on the system which need a writable DOM implementation, because the read-only DOM implementation supplied with Saxon overrides the JRE implementation. Use with care.

Setting the system property javax.xml.transform.TransformerFactory
to Saxon's implementation should do the trick without global
consequences:
java -Djavax.xml.transform.TransformerFactory=\
com.icl.saxon.TransformerFactoryImpl org.apache.fop.appl.Fop ...

This is for Saxon 6.x, Saxon 7.x and 8.x use another class name.

(We could also have opted not to distribute *any* XML parser or XSLT engine,
and leave it all up to the end-user, but this would needlessly complicate
things --no more running FOP 'out-of-the-box' :-( )

It was necessary to distribute Xalan+Xerces in the Java 1.3 days. Now that nearly everybody who got past Java 1.1.8 should have upgraded to 1.4, we can change this.

J.Pietschmann

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to