[EMAIL PROTECTED] wrote:
OK, the ByteArrayOutputStream solves the NullPointer Exception. The only problem left is there is none of my xml data in the pdf. I only get the static header of the xsl document :o/
The most likely reason is that you don't generate FO objects for the real content. If the PDF generation worked before, using serialization of the intermediate XML, then you've probably tried to "generate tags". The easies way to track down the problem is to replace the FOP Driver by an identity transformation which serializes to the servlet's output stream so that you can download the FO document with a browser (or, better, using a command line client to save it into a file). It the FO looks ok, and produces the expected output if run through the FOP command lien application, check whether your transformation uses disable-output-escaping. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]