]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Skip markers (they are validated properly earlier).
authorJeremias Maerki <jeremias@apache.org>
Thu, 26 May 2005 17:13:25 +0000 (17:13 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 26 May 2005 17:13:25 +0000 (17:13 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198693 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/TableRowIterator.java

index ef666632e4a201109f2a0a76cf5e52face7929ba..f85ecf3d93670da75cedffa4021765333769430f 100644 (file)
@@ -24,6 +24,7 @@ import java.util.ListIterator;
 
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
+import org.apache.fop.fo.flow.Marker;
 import org.apache.fop.fo.flow.Table;
 import org.apache.fop.fo.flow.TableBody;
 import org.apache.fop.fo.flow.TableCell;
@@ -245,6 +246,9 @@ public class TableRowIterator {
             }
         }
         Object node = childInBodyIterator.next();
+        while (node instanceof Marker) {
+            node = childInBodyIterator.next();
+        }
         this.currentRow.clear();
         this.currentRowIndex++;
         TableRow rowFO = null;