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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to