diff options
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/table/TableRow.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/table/TableRow.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/TableRow.java b/src/java/org/apache/fop/fo/flow/table/TableRow.java index a40b550bc..2feb45d86 100644 --- a/src/java/org/apache/fop/fo/flow/table/TableRow.java +++ b/src/java/org/apache/fop/fo/flow/table/TableRow.java @@ -128,7 +128,12 @@ public class TableRow extends TableCellContainer implements BreakPropertySet { String localName) throws ValidationException { if (FO_URI.equals(nsURI)) { - if (!localName.equals("table-cell")) { + if ("marker".equals(localName)) { + if (this.firstChild != null) { + //a table-cell has already been added to this row + nodesOutOfOrderError(loc, "fo:marker", "(table-cell+)"); + } + } else if (!"table-cell".equals(localName)) { invalidChildError(loc, nsURI, localName); } } |