I am trying to render a 2x2 table, the first row of which spans across two cells and two rows as shown below:
<fo:table table-layout="fixed" width="100%"> <fo:table-column column-number="1" column-width="1.250000in"/> <fo:table-column column-number="2" column-width="1.250000in"/> <fo:table-body> <fo:table-row> <fo:table-cell border-style="solid" border-width="0.2mm" padding="2pt" text-align="left" display-align="before" number-columns-spanned="2" number-rows-spanned="2" > <fo:block> <fo:inline font-family="Times" color="#000000" font-weight="normal" font-style="normal" text-decoration="no-underline" font-size="10pt" >kangaroo </fo:inline> </fo:block> </fo:table-cell> </fo:table-row> <fo:table-row></fo:table-row> </fo:table-body> </fo:table> This markup used to produce the desired results in fop 0.20.5 but gives me validation errors when using 0.94 and higher (trunk included). If I try to adhere to the validation rules and provide a table-cell with an empty block for the second row, it complains that the number of cells overflow the number specified for the table. >From this analysis, it looks like if a table contains a row which spans the entire columns and any additional rows, we run into issues. Has anyone encountered this issue and are there any workarounds for this? Thanks, Kumar Puppala
