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