You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by gm...@apache.org on 2004/09/13 14:39:25 UTC

cvs commit: xml-fop/src/java/org/apache/fop/fo/flow InstreamForeignObject.java

gmazza      2004/09/13 05:39:24

  Modified:    src/java/org/apache/fop/fo/flow InstreamForeignObject.java
  Log:
  Fixed validation bug.
  
  Revision  Changes    Path
  1.27      +1 -1      xml-fop/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java
  
  Index: InstreamForeignObject.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/InstreamForeignObject.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- InstreamForeignObject.java	13 Sep 2004 03:46:04 -0000	1.26
  +++ InstreamForeignObject.java	13 Sep 2004 12:39:24 -0000	1.27
  @@ -65,7 +65,7 @@
        * @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");
           }
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org