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)
[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