Re: FOTreeBuilder warning messages
On Sep 21, 2007, at 00:07, Kevin wrote: Thanks for your input. Yes, I took the fo generated on the server for which I was getting those warnings and analyzed and found no issues or missing tags indicated in the warnings. Also, I generated the PDF from my dev environment succesfully without any issues. Also was able to create the pdf in command line succesfully. Weird... I don't know if it's possible for you, but did you also try running it from the command-line on the server? That would pretty much make sure that you use the same environment, or vice versa, did you try rendering pseudo-embedded in your development environment? Are you sure the problem is not in the code you use to call FOP? Another thing I'm noticing is StackOverflow occuring randomly when FOP is run in a batch(processing multiple documents). But if take the fo for the xml which caused the stackoverflow and ran it in command line - there were no problems and PDF is coming out just fine. Could there be any memory leaks?. Any suggestions to look for anything?. A stack-overflow is not indicative of memory leaks, but rather, of some form of infinite recursion... Thanks Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOTreeBuilder warning messages
Pascal, Thanks for getting back. Here are the environment details: - FOP 0.94 - Websphere 6.0 server I do not have any idea as to where to start from to resolve this error. My requirement needs some post processing before rendering the final PDF, so I create the Area Tree first and then apply another stylesheet on the area tree and finally transform that output to PDF. To isolate the problem, I eliminated the creation of Area tree and did FO - PDF. Whay do you think the FO could be truncated?. I'll try and get the FO output and see if something is wrong. Even though the warnings occur, the PDF comes out fine. But if I try to create the Area tree first and then PDF from the area tree I get the following error - Current regionViewPort must be null and the PDF does not get created. You also wrote that I need to look into the XSLT stage. Do you mean the XML to FO could be a issue??. But this works fine on my development machine and its a problem only on the server envirnonment. Any help is greatly appreciated. Thanks kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOTreeBuilder warning messages
Pascal, Sorry, I didn't provide the complete details of the server environment FOP is running: - FOP 0.94 - Websphere 6.0 Application server - Windows 2003 - Xerces/Xalan - Fop is embeded in Java Thanks kevin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
REĀ : RE: FOTreeBuilder warning messages
Hi, Reading your Log messages (endElement Mismatch: table-cell), I guess end tags are missing to these elements. This is why I said that your FO is trunkated. Can you check that in your server environment? If that is the case, I suspect there is something wrong with XML in Webserve. There is a lot of similar problem in mailing list archive (follow there: http://www.nabble.com/forum/Search.jtp?forum=353local=yquery=Websphere) You should probably find more precise answer there (unfortunately, I'm not a Java guru...) HTH SP Message d'origine De: news de la part de Kevin Date: mer. 19/09/2007 10:49 Pascal, Thanks for getting back. Here are the environment details: - FOP 0.94 - Websphere 6.0 server I do not have any idea as to where to start from to resolve this error. My requirement needs some post processing before rendering the final PDF, so I create the Area Tree first and then apply another stylesheet on the area tree and finally transform that output to PDF. To isolate the problem, I eliminated the creation of Area tree and did FO - PDF. Whay do you think the FO could be truncated?. I'll try and get the FO output and see if something is wrong. Even though the warnings occur, the PDF comes out fine. But if I try to create the Area tree first and then PDF from the area tree I get the following error - Current regionViewPort must be null and the PDF does not get created. You also wrote that I need to look into the XSLT stage. Do you mean the XML to FO could be a issue??. But this works fine on my development machine and its a problem only on the server envirnonment. Any help is greatly appreciated. Thanks kevin winmail.dat- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FOTreeBuilder warning messages
On Sep 19, 2007, at 11:04, Kevin wrote: Hi Sorry, I didn't provide the complete details of the server environment FOP is running: If you say that 'the same XSL works fine in your development environment', does that also mean 'the same XML'? Can you check with the *exact* same XML + XSLT, and see if that gives you a clue? Other things that come to mind: Have you succeeded in rendering the PDF (including post-processing the Area Tree) in your development environment? If so, then the most obvious suspect is either the XML parser or XSLT processor in the server environment (if it's not the XML: see above). Can you provide some more details on the exact steps your Java code takes to complete the full cycle (XML - PDF)? Try to perform the XSL transform only, but in the server environment (or with the *exact* same configuration, at least), and take a look at the resulting FO. As Pascal already hinted at, the error should be in there. It occurs while parsing the FO, not when rendering the Area Tree... That's why I somehow suspect that you did try the same stylesheet, but with a different (simplified?) XML. HTH! Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]