]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
----------------------------------------------------------------------
authorGlen Mazza <gmazza@apache.org>
Sat, 5 Mar 2005 03:51:59 +0000 (03:51 +0000)
committerGlen Mazza <gmazza@apache.org>
Sat, 5 Mar 2005 03:51:59 +0000 (03:51 +0000)
Validation bug fixed on fo:table.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198468 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/flow/Table.java

index df5249648a533f44d7625bdc8b7e4ca275c07bc9..44ee433395ee0bc1c80871c40ad2e74b6b0ac9d9 100644 (file)
@@ -199,6 +199,10 @@ public class Table extends FObj {
      * @see org.apache.fop.fo.FONode#endOfNode
      */
     protected void endOfNode() throws FOPException {
+        if (!tableBodyFound) {
+           missingChildElementError("(marker*,table-column*,table-header?,table-footer?,table-body+)");
+        }
+
         getFOEventHandler().endTable(this);
     }