gmazza      2005/03/04 19:51:59

  Modified:    src/java/org/apache/fop/fo/flow Table.java
  Log:
  ----------------------------------------------------------------------
  Validation bug fixed on fo:table.
  
  Revision  Changes    Path
  1.51      +4 -0      xml-fop/src/java/org/apache/fop/fo/flow/Table.java
  
  Index: Table.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/fo/flow/Table.java,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- Table.java        5 Mar 2005 00:32:25 -0000       1.50
  +++ Table.java        5 Mar 2005 03:51:59 -0000       1.51
  @@ -199,6 +199,10 @@
        * @see org.apache.fop.fo.FONode#endOfNode
        */
       protected void endOfNode() throws FOPException {
  +        if (!tableBodyFound) {
  +           
missingChildElementError("(marker*,table-column*,table-header?,table-footer?,table-body+)");
  +        }
  +
           getFOEventHandler().endTable(this);
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to