xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Bowditch <bowditch_ch...@hotmail.com>
Subject Re: FOP commands to XSL
Date Fri, 12 Mar 2004 10:38:24 GMT
Benjohn P. Villedo wrote:

<snip/>

> but the browser gave me the error
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Failed To Execute Pipeline
> org.apache.cocoon.ProcessingException: Failed to execute 
> pipeline.: java.lang.RuntimeException: 
> java.lang.ClassCastException: org.apache.fop.layout.BlockArea
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> hope you could help me in this endeavor... all the best!!

ClassCastException can occur when working when block-containers if the 
block-container is not a direct descendent of the flow element. This is 
simply a limitation of FOP. You will need to change your XSL stylesheet 
to make sure the block-container appears only as a direct descendent of 
the flow element. As Andreas suggested, to help you in this task you may 
need to output the intermediate XSL-FO. See below link on how to do this 
from XML and XSL files:

http://xml.apache.org/fop/running.html#check-input

Chris






---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message