My current implementation passes the Driver into the Sax transform.  If the
transform creates malformed xsl:fo, which is a possibility, the FOPException
that is raised by FOP, is coming up to the top as an NPE and not the actuall
message text.

For example, line 149 of org.apache.fop.pagination.PageSequence:

            throw new FOPException("page-sequence must be child of root, not
                                   + parent.getName());

is eventually thrown by the Transformer as a TransformerException, but when
I getMessage(), it's an NPE.  Any idea why this would be?


David B. Bitton

Code Made Fresh DailyT

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to