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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to