On Sep 21, 2007, at 12:13, Yatin Soni wrote:
How can I make JVM to use Xerces and Xalan that are distributed
with FOP
are used ?
I have provided following optional argument
-Dorg.apache.commons.logging.simplelog.defaultlog=WARN/ERROR
-
Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.Tra
nsfor
merFactoryImpl
Setting the JAXP sysprop is not enough if the bootstrapped XSLT
processor is simply a different version of Xalan than the one that is
shipped with FOP, IIC. Might work if you try Saxon instead.
Java provides the 'endorsed standards' mechanism to override the
bootstrapped Xalan. Try copying the Xalan JAR that is shipped with
FOP to the $JAVA_HOME$/lib/endorsed folder (create if it does not
exist), then restart the server.
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]