diff options
author | Glen Mazza <gmazza@apache.org> | 2004-09-13 12:39:24 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-09-13 12:39:24 +0000 |
commit | 69c20a7430e63cab5c17f88756709792d4c4a299 (patch) | |
tree | 85c7ec1de105aade0b9216d0887e3f30727ee743 /src/java/org/apache/fop/fo/flow/InstreamForeignObject.java | |
parent | 4a3d1a1e38ce79712163988ee61d8910c5ef196d (diff) | |
download | xmlgraphics-fop-69c20a7430e63cab5c17f88756709792d4c4a299.tar.gz xmlgraphics-fop-69c20a7430e63cab5c17f88756709792d4c4a299.zip |
PR:
Obtained from:
Submitted by:
Reviewed by:
Fixed validation bug.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197948 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/InstreamForeignObject.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/InstreamForeignObject.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java b/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java index 6505db5f7..610abdf92 100644 --- a/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java +++ b/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java @@ -65,7 +65,7 @@ public class InstreamForeignObject extends FObj { * @see org.apache.fop.fo.FONode#end */ protected void endOfNode() throws SAXParseException { - if (childNodes == null) { + if (childNodes.size() != 1) { missingChildElementError("one (1) non-XSL namespace child"); } } |