From 440cbd944f8014e2f36a63b7640c00fc70ed5b52 Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Wed, 2 Nov 2005 18:21:56 +0000 Subject: Added relaxed validation for fo:table-cells w/o blocks or markers (Bugzilla 37329) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@330303 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/flow/TableCell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/java/org/apache/fop/fo/flow/TableCell.java b/src/java/org/apache/fop/fo/flow/TableCell.java index 8195e941a..acab06dad 100644 --- a/src/java/org/apache/fop/fo/flow/TableCell.java +++ b/src/java/org/apache/fop/fo/flow/TableCell.java @@ -168,7 +168,7 @@ public class TableCell extends TableFObj { * @see org.apache.fop.fo.FONode#endOfNode */ protected void endOfNode() throws FOPException { - if (!blockItemFound) { + if (!blockItemFound && getUserAgent().validateStrictly()) { missingChildElementError("marker* (%block;)+"); } if ((startsRow() || endsRow()) -- cgit v1.2.3