diff options
-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"); } } |