aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/pagination/Flow.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/pagination/Flow.java')
-rw-r--r--src/java/org/apache/fop/fo/pagination/Flow.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/pagination/Flow.java b/src/java/org/apache/fop/fo/pagination/Flow.java
index 8ffa067fe..81e079cb8 100644
--- a/src/java/org/apache/fop/fo/pagination/Flow.java
+++ b/src/java/org/apache/fop/fo/pagination/Flow.java
@@ -66,11 +66,6 @@ public class Flow extends FObj {
* @see org.apache.fop.fo.FONode#startOfNode
*/
protected void startOfNode() throws FOPException {
- if (!parent.getName().equals("fo:page-sequence")) {
- throw new ValidationException("flow must be child of "
- + "page-sequence, not " + parent.getName(), locator);
- }
-
if (flowName == null || flowName.equals("")) {
missingPropertyError("flow-name");
}