[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] : Using saxon-fop - NullPointerException
Hello everyone, Apologies if this is off-topic, on the off-chance someone has experience using saxon-fop, erm, don't be stand-offish... My stylesheet produces fo which works fine when I use command-line FOP to turn it into PDF. I liked the sound of using Saxon to hook directly into FOP, so I sorted out the classpaths and put this in my stylesheet: <xsl:output method="saxon:fop" fop:renderer="org.apache.fop.render.pdf.PDFRenderer"/> Everything went swimmingly (except a minor error message because no logger had been set) until the last page of my document. java.lang.NullPointerException at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:205) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182) at net.sf.saxon.output.ContentHandlerProxy.endElement(ContentHandlerProxy.java: 135) {much much more...} Does anyone know what's wrong? I've tried it with Saxon 6.5.1 and 7, and I'm using FOP 0.20.3. Thanks a million. Tom XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|