Re: org.apache.fop.apps.FOPException: root must be root element
Koes, Derrick wrote: org.apache.fop.apps.FOPException: root must be root element at org.apache.fop.fo.pagination.Root.(Root.java:52) I get this exception only very, very intermittently when I'm rendering to PDF a document with many images. Can anyone help? So you cannot surely reproduce the problem? Probably that has something to do with thread-safeness. Which version are you using? -- Oleg Tkachenko Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: org.apache.fop.apps.FOPException: root must be root element
Well, either FOP doesn't get namespaced SAX events or you're feeding not XSL-FO but something else. I can't tell from the code sample you posted. Anyway please look at the ExampleXML2PDF.java in the examples/embedding directory starting with FOP version 0.20.5rc. The example does things a little differently since it uses JAXP directly, but it does exactly what you want. Also see the information at the bottom of the embedding page on the FOP website. On 18.03.2003 21:55:37 Koes, Derrick wrote: org.apache.fop.apps.FOPException: root must be root element at org.apache.fop.fo.pagination.Root.(Root.java:52) I get this exception only very, very intermittently when I'm rendering to PDF a document with many images. Can anyone help? I'm running embedded. Embedded code: snip/ Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: org.apache.fop.apps.FOPException: root must be root element
Version 0.20.5rc2 I suspected as much about the thread safety, the class containing the driver code was a singleton. I'm changing that now. Thanks, Derrick -Original Message- From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:52 AM To: [EMAIL PROTECTED] Subject: Re: org.apache.fop.apps.FOPException: root must be root element Koes, Derrick wrote: org.apache.fop.apps.FOPException: root must be root element at org.apache.fop.fo.pagination.Root.(Root.java:52) I get this exception only very, very intermittently when I'm rendering to PDF a document with many images. Can anyone help? So you cannot surely reproduce the problem? Probably that has something to do with thread-safeness. Which version are you using? -- Oleg Tkachenko Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This electronic transmission is strictly confidential to Smith Nephew and intended solely for the addressee. It may contain information which is covered by legal, professional or other privilege. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]