diff options
author | Kelly Campbell <kellyc@apache.org> | 2001-01-19 18:33:47 +0000 |
---|---|---|
committer | Kelly Campbell <kellyc@apache.org> | 2001-01-19 18:33:47 +0000 |
commit | cdf6f0bd8661229c3846cff12bf4f78fa94270d4 (patch) | |
tree | 870bc5e36c4a1c64a0911c70b011cdf1b2256976 /src/org | |
parent | 2c3ba8eb9314e4b8fd92c63b4f831b8b36218233 (diff) | |
download | xmlgraphics-fop-cdf6f0bd8661229c3846cff12bf4f78fa94270d4.tar.gz xmlgraphics-fop-cdf6f0bd8661229c3846cff12bf4f78fa94270d4.zip |
Fixed bug reported by Cliff Harrison regarding order of static contents and
fo:flow object.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193975 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org')
-rw-r--r-- | src/org/apache/fop/fo/flow/Flow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/flow/Flow.java b/src/org/apache/fop/fo/flow/Flow.java index 8b86bfef7..429ba47be 100644 --- a/src/org/apache/fop/fo/flow/Flow.java +++ b/src/org/apache/fop/fo/flow/Flow.java @@ -111,7 +111,8 @@ public class Flow extends FObj { // 001228, Number 406), confusion in spec section 6.4.5 about // multiplicity of fo:flow in XSL 1.0 is cleared up - one (1) // fo:flow per fo:page-sequence only. - if (!pageSequence.isFlowSet()) + + if (!pageSequence.isFlowSet() || !(this.name.equals("fo:flow"))) pageSequence.addFlow(this); else throw new FOPException("Only a single fo:flow permitted" |