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
But if we replace
padding="7pt" by padding="6pt"
in line <fo:table-cell border-style="solid" border-width="1pt"
padding="7pt">, we won't get any exception.
Does anyone have any suggestions on how to sort out the problem?
Good luck.