Hello,

Is "fo2rtf" from your command ( fo2rtf ${fo} ${out} ) the Linux/Mac script that comes with XFC? I just used the following command in the external FO processor configured in Preferences on Linux and on Mac in oXygen 9.1:

fo2rtf ${fo} ${out}

and the following command on Windows:

fo2rtf.bat ${fo} ${out}

and I got a correct RTF output for the docbook/v5/sample.xml file from the default oXygen project (samples.xpr). Do you get a correct RTF result with this file? If yes can you send us a sample DocBook XML file for reproducing the exception?


Regards,
Sorin


Raymond wrote:
os/x-10.5.1 docbook-xsl-1.73.2 xfc-4.2 oxygenxml-9.1 (eclipse 3.3.1.1 plugin)

External FO Processor XFC configured as fo2rtf ${fo} ${out}

Can't get XFC to work with oXygen:

Started: /Users/Shared/Library/xfc-4.2/fo2rtf /Users/foo/workspace/foo/appdev/genArticle/trunk/empoweringChange.xml_xslt /Users/foo/Sites/empoweringChange.rtf
java.lang.NullPointerException
    at com.xmlmind.fo.converter.b.c.a(Unknown Source)
    at com.xmlmind.fo.converter.r.characters(Unknown Source)
    at com.jclark.xml.sax.SAX2Driver.flushData(Unknown Source)
    at com.jclark.xml.sax.SAX2Driver.endElement(Unknown Source)
    at com.jclark.xml.parse.EntityParser.parseContent(Unknown Source)
at com.jclark.xml.parse.EntityParser.parseDocumentEntity(Unknown Source)
    at com.jclark.xml.parse.DocumentParser.parse(Unknown Source)
    at com.jclark.xml.parse.base.ParserImpl.parseDocument(Unknown Source)
    at com.jclark.xml.sax.SAX2Driver.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at com.xmlmind.fo.converter.r.if(Unknown Source)
    at com.xmlmind.fo.converter.Driver.M(Unknown Source)
    at com.xmlmind.fo.converter.Driver.main(Unknown Source)
Process ended with exit code: 2

Previous experience with FO processor XEP (4.10 works fine with above referenced configuration)

Ray
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to