xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Van Assche" <bart.vanass...@gmail.com>
Subject org.xml.sax.SAXNotSupportedException thrown by FOP
Date Sat, 08 Mar 2008 14:32:00 GMT
Hello,

I'm trying to convert the Valgrind documentation in the PDF format via
FOP. When I try this FOP prints the error message shown below. Any
hints on how I can solve this ?

$ fop -v
FOP Version 0.93
...
$ fop index.fo index.pdf
8-Mar-08 3:26:20 PM 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.8)
   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.8)
   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)


The index.fo document can be generated as follows:

wget http://www.valgrind.org/downloads/valgrind-3.3.0.tar.bz2
tar xjf valgrind-3.3.0.tar.bz2
cd valgrind-3.3.0
./configure
cd docs
make print-docs # ignore the error about xref linking reported by make
cd print
fop index.fo index.pdf

Bart Van Assche.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message