On Mon, 10 Oct 2005 08:16 pm, 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

>

> 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?

>

Unfortunately not really. A similar problem has been reported before http://issues.apache.org/bugzilla/show_bug.cgi?id=36403 but has not yet been fixed.

> Good luck.

Manuel

Reply via email to