On Mar 7, 2007, at 15:51, nickleus wrote:
thanks Andreas for the quick reply. where do i define which xml
parser i want
to use or which xslt processor to use?
i just downloaded the newest version of fop and thought it would
work out of
the box in its own little sandbox...
It should, in theory, if the Java environment is set up to always use
compatible bug-free combinations of the SAX/DOM and JAXP API
implementations.
The SAX/DOM implementation or XSLT processor to use can be set via
the JAXP System Properties:
javax.xml.parsers.DocumentBuilderFactory
javax.xml.parsers.SAXParserFactory
javax.xml.transform.TransformerFactory
You can specify the implementations to use by modifying the used java-
commandline (maybe in the fop shell script), and add specify
overrides via the -D switch.
For example:
%JAVA_CMD% -
Djavax.xml.parser.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFacto
ryImpl ...
Or you can do this via a jaxp.properties file in your %JAVA_HOME%/lib/ :
##example jaxp.properties##
javax.xml.parser.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactor
yImpl
javax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryIm
pl
##end example##
I hope this works as well as it should, even with GNU Classpath...?
HTH!
Cheers,
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]