aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2005-11-02 18:21:56 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2005-11-02 18:21:56 +0000
commit440cbd944f8014e2f36a63b7640c00fc70ed5b52 (patch)
treee10a385375400df9e0e6014cef88dcff8368bd88 /src/java/org/apache/fop
parent1aa81a2b26cd702ec88d87a7d8540ed659ac93be (diff)
downloadxmlgraphics-fop-440cbd944f8014e2f36a63b7640c00fc70ed5b52.tar.gz
xmlgraphics-fop-440cbd944f8014e2f36a63b7640c00fc70ed5b52.zip
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
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r--src/java/org/apache/fop/fo/flow/TableCell.java2
1 files changed, 1 insertions, 1 deletions
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())