From: Vincent Hennebert Date: Tue, 9 Jan 2007 14:21:59 +0000 (+0000) Subject: In relaxed validation mode, it should be acceptable to have fo:table-footer /after... X-Git-Tag: fop-0_94~253 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a754418acf8405e479f00dbc45db210160d95354;p=xmlgraphics-fop.git In relaxed validation mode, it should be acceptable to have fo:table-footer /after/ fo:table-body git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@494416 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/fo/flow/Table.java b/src/java/org/apache/fop/fo/flow/Table.java index fa68eb10f..55fbcf5cf 100644 --- a/src/java/org/apache/fop/fo/flow/Table.java +++ b/src/java/org/apache/fop/fo/flow/Table.java @@ -201,7 +201,7 @@ public class Table extends TableFObj { tooManyNodesError(loc, "table-footer"); } else { tableFooterFound = true; - if (tableBodyFound) { + if (tableBodyFound && getUserAgent().validateStrictly()) { nodesOutOfOrderError(loc, "fo:table-footer", "(table-body+)"); }