Hi Patrick Patrick wrote: > Hi, > > Thanks very much for your suggestions. I switched JVMs to use Sun's > 1.5.0_08, then tried again, a new exception was thrown: > > org.apache.fop.fo.ValidationException: > file:///home/patrick/workspace/SupplierSelect/web/docs/./buyerRef.fo:156:3853: > > Error(156/3853): fo:block, Invalid property name 'bgcolor > at org.apache.fop.fo.FONode.attributeError(FONode.java:312) > at > org.apache.fop.fo.PropertyList.handleInvalidProperty(PropertyList.java:469) > at > org.apache.fop.fo.PropertyList.isValidPropertyName(PropertyList.java:357) > > > I then switched to using FOP 0.20.5 and it worked! Although with the -v > flag set it did produce warnings similar to the above: > > [ERROR] property 'bgcolor' ignored
These errors (probably should be labeled warnings) are benign and occur in both FOP 0.93 and 0.20.5 > > I guess the 0.20 branch is more forgiving. > > One minor problem is that asciidoc test using the glossary style: > > term:- > definition text here > > is rendered as <glossentry><glossdef> xml in the PDF output. > > This is very non-crucial for my purposes, but I thought you might like > to know. > > Thanks very much one again - asciidoc is great, and now PDF stuff works > we're all set. > > Regards > > Patrick > > > > > > > > Stuart Rackham wrote: >> 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 > > Cheers, Stuart _______________________________________________ Asciidoc-discuss mailing list Asciidoc-discuss@metaperl.com http://metaperl.com/cgi-bin/mailman/listinfo/asciidoc-discuss