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 2005/03/05 04:52:00 UTC

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

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: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org