On Feb 4, 2008, at 18:55, http://www.pas-world.com wrote:
Hello,
I can not see where is the problem, .fo to .pdf with fop.
Input fo:
<snip />
No apparent problem in the input.
Shell error of java:
[EMAIL PROTECTED] advanced]$ /home/local/fop-0.94/fop giro.fo -pdf
documento.pdf
4-feb-08 6:48:49 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:166)
at org.apache.fop.cli.Main.main(Main.java:197)
---------
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:166)
at org.apache.fop.cli.Main.main(Main.java:197)
Caused by: org.xml.sax.SAXNotSupportedException: http://xml.org/
sax/handlers/LexicalHandler
at gnu.xml.stream.SAXParser.setProperty(libgcj.so.7rh)
If you can, try forcing the Java VM to use Apache Xerces (which is
currently still distributed with FOP) instead of the bootstrapped GNU
implementation, which lacks a feature that Xalan needs.
There's a variety of methods available to achieve this:
- put Xerces' JARs in your %JAVA_HOME%/lib/endorsed
- add it to the JVMs 'bootclasspath'
- fiddle with sytem properties
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]