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: ERROR: endElement() for fo:root where there is no current element
Date Wed, 25 Jan 2012 17:08:54 GMT
On 23/01/2012 17:27, Nathan Schoenroth wrote:
> I am getting the following error when trying to run fop on an xsl-fo 
> template
>
>
> Full Trace:
>
>
>
> [xmlserver] [INFO] [XMLConnectionHandler] Processed XML document.
> [xmlserver] [INFO] [XMLConnectionHandler] Sending preview.
> [xmlserver] [INFO] [XMLConnectionHandler] Sent preview.
> [xmlserver] [INFO] [XMLConnectionHandler] Job completed.
> [xmlserver] [WARN] [FOTreeBuilder] Mismatch: table-body 
> (http://www.w3.org/1999/
> XSL/Format) vs. table (http://www.w3.org/1999/XSL/Format)
> [xmlserver] [WARN] [FOTreeBuilder] Mismatch: table 
> (http://www.w3.org/1999/XSL/F
> ormat) vs. table-body (http://www.w3.org/1999/XSL/Format)
> [xmlserver] [WARN] [FOTreeBuilder] Mismatch: block 
> (http://www.w3.org/1999/XSL/F
> ormat) vs. table (http://www.w3.org/1999/XSL/Format)
> [xmlserver] [WARN] [FOTreeBuilder] Mismatch: flow 
> (http://www.w3.org/1999/XSL/Fo
> rmat) vs. block (http://www.w3.org/1999/XSL/Format)
> [xmlserver] [WARN] [FOTreeBuilder] Mismatch: page-sequence 
> (http://www.w3.org/19
> 99/XSL/Format) vs. flow (http://www.w3.org/1999/XSL/Format)
> [xmlserver] [WARN] [BreakingAlgorithm] Line 1 of a paragraph overflows 
> the avail
> able area. (fo:block, "?")
> [xmlserver] [WARN] [FOTreeBuilder] Mismatch: root 
> (http://www.w3.org/1999/XSL/Fo
> rmat) vs. page-sequence (http://www.w3.org/1999/XSL/Format)

Have you seen this FAQ on the website?

http://xmlgraphics.apache.org/fop/faq.html#saxexception-mismatch

The error means that something went wrong during the XSLT stage. Run 
your XML+XSLT using xalan directly instead of FOP to diagnose what goes 
wrong in your XSLT.

Thanks,

Chris

> [xmlserver] [ERROR] [FOTreeBuilder] javax.xml.transform.
> TransformerException: ja
> va.lang.IllegalStateException: endElement() called for fo:root where 
> there is no
>  current element.
> [xmlserver] [INFO] [XMLConnectionHandler] Processed XML document.
> [xmlserver] [INFO] [XMLConnectionHandler] Job completed.
> [xmlserver] SystemId Unknown; Line #0; Column #0; 
> java.lang.IllegalStateExceptio
> n: endElement() called for fo:root where there is no current element.
>
>
> -- 
> *Nathan*
>


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


Mime
View raw message