fop_exec_command="exec \"$JAVACMD\"
-Djavax.xml.parser.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl
$LOGCHOICE $LOGLEVEL -classpath \"$LOCALCLASSPATH\" $FOP_OPTS
org.apache.fop.cli.Main $fop_exec_args"

didn't seem to have any effect...
neither did making a jaxp.properties file..



Andreas L Delmelle wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/problem-with-FOP-set-up-tf3328582.html#a9357798
Sent from the FOP - Users mailing list archive at Nabble.com.


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

Reply via email to