Chris Bowditch wrote:
<snip/>
Has anyone seen this exception before? Is it a bug in FOP, or is it
solveable by filtering the FO file to repair it somehow?
I've seen similar ClassCastExceptions, but they were caused by
fo:wrapper being in places FOP didn't expect. In your case I believe the
error is caused by the block-container expecting an fo:block as its
parent. Since the fo:inline element doesn't appear to be doing anything
(no properties have been set on it), you can remove it without changing
the output and the error should disappear.
All elements had properties, actually. I removed them, partially so
that I could figure out which part of the document caused the problem,
but also to get a bare example to post here.
Daniel
--
Daniel Noll
Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia Ph: +61 2 9280 0699
Web: http://nuix.com/ Fax: +61 2 9212 6902
This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]