From: Jeremias Maerki Date: Thu, 21 Aug 2008 08:51:50 +0000 (+0000) Subject: Added an FAQ entry about the element mismatch error message. X-Git-Tag: fop-1_0~447 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f022fe41eb79d78ce7f3d64abaf2128a80015faa;p=xmlgraphics-fop.git Added an FAQ entry about the element mismatch error message. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@687657 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml index a75cd41e0..26a5329cb 100644 --- a/src/documentation/content/xdocs/faq.xml +++ b/src/documentation/content/xdocs/faq.xml @@ -385,6 +385,47 @@

+ + I get a SAXException: Mismatch: page-sequence vs. root + (or similar). + +

+ The full exception usually looks similar to this: +

+ Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root + (http://www.w3.org/1999/XSL/Format) +

+ This exception is usually a follow-up error after another exception. Sometimes + the original exception gets swallowed by Xalan's default ErrorListener + (should be fixed in the latest Xalan release). +

+

+ The work-around is to set an explicit ErrorListener on the + Transformer. The ErrorListener can be as simple as this: +

+ +
+
Problems with FOP output