Michael Bruns wrote:
Hmmm...I would really like to provide you some examples, but I couldn't
figure out *what* exactly causes the crashes, yet.
I'm using quite large XSL-files to transform XML into PDF. The XML is
generated dynamically, and with some XML the generation crashes, and
with other XML it just works like a charm. The XML is always of the same
structure, which makes it even weirder to me...
The canonical process is as follows:
1. Catch some XML which exposes the error. Dynamically generated
XML can be saved into a file by substituting the XSLT transformer
+ FOP by a default transformer which writes to a file, or perhaps
to the output stream in case of a web application (in the latter
case, also change the content type to text/xml so that you can
download and save it to a file using a browser).
2. Produce a FO file, see
http://xmlgraphics.apache.org/fop/0.93/running.html#check-input
for the procedure.
3. Run FOP using the command line using the just produced FO file
in order to verify the problem still exists.
4. Try to delete as much stuff from the FO file as possible until
the problem you try tracking down disappears (i.e. either you get
another error, or FOP successfully generates a PDF).
In your case, you can probably start with deleting all content
outside of tables, then delete whole tables until you find the
table causing the problem, then delete the table header and footer
and all but one row etc.
J.Pietschmann
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]