Yury Litvinov wrote:
Hi,would you please have a look at that FO example. ====================================================== <fo:table> <fo:table-column column-width="100pt"/> <fo:table-column column-width="100pt"/> <fo:table-body> <fo:table-row><!-- there is a bug --><fo:table-cell border-style="solid" border-width="1pt" padding="7pt"> <fo:block text-align="center"> one </fo:block> </fo:table-cell> <!-- there is a bug --><fo:table-cell ><fo:block text-align="center"> two </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> ============================================================ After starting FOP we get: Exception java.lang.ArrayIndexOutOfBoundsException: -1
Assuming you are using latest FOP from SVN Trunk, then the problem is caused by fact that you are using the border-collapse="collapse" setting. Even though you haven't specified this on the table element, it is the default value for this setting. If you specify
<fo:table border-collapse="separate"> then the example should work. <snip/> Chris
