xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent Vaills <laurent.vai...@laposte.net>
Subject interaction between FOP and Xalan
Date Thu, 08 Nov 2001 09:28:03 GMT

I am using FOP 0.20.1 and Xalan-J 2.2.0_D11, and xerces 1.4.3.
I have the same errors if I use the xalan-2.0.0.jar distributed with Fop.

I am currently parsing an xml document to get a DOM. I put this DOM to
xalan and it transforms it, with a correct stylsheet, to a DOMResult
which contains the FO DOM tree, if I am correct.
Finally, I want to produce a PDF file from this FO DOM but I have got a
NullPointerException, which is really surprising because I am able to
serialize perfectly the FO DOM with a xalan serializer.

Attached to the mail is an example that shows my problem.

Do you think the problem comes from Xalan, which builds incorrectly the
DOMResult or FOP that doesn't walk correctly through the FO DOM built by
the DOMResult ?

If you have any ideas...don't worry if not.
I hope it is clear. If not, don't hesitate to ask more details.


View raw message