RE: : Using saxon-fop - NullPointerException
J.Pietschmann wrote: >At this point the StreamRenderer tries to log the >total page count. I guess there hasn't been a logger >set for the stream renderer. A quick glance into >com.icl.saxon.fop.FOPEmitter seems to confirm this, >an explicite StreamRenderer is createt there (as a >workaround for a FOP 0.20.1 deficency), and no logger >is set. > >Because you have the source, you can fix that yourself, >deleting the statement mentioned above should be sufficient. Thank you! I've got it to work now, but we decided it was too slow and have gone for a quicker but far uglier set-up: a Windows script uses MSXML to do the transformations, very fast, wraps the FO in a tag containing the destination filename and uses a command-line pipe to send it to FOP. It makes my hair curl a bit because if it goes wrong you have to start all over again, but it works... Regards, Tom Weissmann 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