Hi Patrick

I had a similar problem with the newer FOP 0.20.5 (Ubuntu 6.10, GNU Java 
1.4.2) but FOP 0.93 was OK.

Interestingly FOP 0.20.5 and 0.93 both work on Ubuntu 7.04, Sun Java 
1.5.0_11 (the sun-java5-jre package).

If you are using GNU java maybe try the Sun package instead.


Cheers, Stuart


Patrick wrote:
> Hello,
> 
> This is a bit cheeky, because I have no problem with asciidoc at all - 
> it's really excellent, and such a jewel after beginning with DocBook. 
> Thanks to Stuart and contributors.
> 
> I've followed the documents instructions for setting up a2x, and all 
> formats are produced nicely except PDF.
> 
> Typing FOP at the command line produces a bunch of options.
> 
> Typing $ a2x -f pdf buyerRef.txt seems to start nicely, and a 
> buyerRef.fo file is written, but then the exception below is thrown.
> 
> I suspect this is a JAXP / Java / XML / XSL jar incompatibility problem 
> but I don't know how to go about diagnosing it.
> 
> My setup is Ubuntu 4.1.1 / Java 1.4.2 / FOP 0.93 /  and a jar called 
> JimiProClasses.jar
> 
> Thanks in advance.
> 
> Patrick
> 
> 
> 
> Making portrait pages on A4 paper (210mmx297mm)
> glossentry encountered in sidebar, but no template matches.
> glossdef encountered in glossentry, but no template matches.
> 21-Apr-07 6:51:39  org.apache.fop.cli.Main startFOP
> SEVERE: Exception
> javax.xml.transform.TransformerException: 
> http://xml.org/sax/handlers/LexicalHandler
>    at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
>    at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>    at org.apache.fop.cli.Main.startFOP(Main.java:160)
>    at org.apache.fop.cli.Main.main(Main.java:191)
> 
> ---------
> 
> javax.xml.transform.TransformerException: 
> http://xml.org/sax/handlers/LexicalHandler
>    at 
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:501)
>    at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
>    at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>    at org.apache.fop.cli.Main.startFOP(Main.java:160)
>    at org.apache.fop.cli.Main.main(Main.java:191)
> Caused by: org.xml.sax.SAXNotSupportedException: 
> http://xml.org/sax/handlers/LexicalHandler
>    at gnu.xml.stream.SAXParser.setProperty(libgcj.so.70)
>    at 
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:475)
>    ...4 more
> caused by org.xml.sax.SAXNotSupportedException: 
> http://xml.org/sax/handlers/LexicalHandler
>    at gnu.xml.stream.SAXParser.setProperty(libgcj.so.70)
>    at 
> org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:475)
>    at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
>    at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
>    at org.apache.fop.cli.Main.startFOP(Main.java:160)
>    at org.apache.fop.cli.Main.main(Main.java:191)
> a2x: failed: fop.sh "./buyerRef.fo" "./buyerRef.pdf"
> 
> 
> 
> 
> _______________________________________________
> Asciidoc-discuss mailing list
> Asciidoc-discuss@metaperl.com
> http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss
> 
> 


_______________________________________________
Asciidoc-discuss mailing list
Asciidoc-discuss@metaperl.com
http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss

Reply via email to