On May 8, 2008, at 00:03, Andreas Delmelle wrote:

    [junit] ------------- Standard Output ---------------
    [junit] Test: column-number_non-integer.fo
    [junit]   [FATAL] fo:table overlaps in column 2.
[junit] [ERROR] Invalid property value encountered in column-number="-1": org.apache.fop.fo.expr.PropertyException: fo:table overlaps in column 2. (See position 34:64)

Already looking at this closer, the error message looks a bit strange too.
The overlap is supposedly taking place in column 2, instead of 1...

... and it is a fo:table that overlaps, not a fo:table-cell. :-/

<snip />
That should probably simply be isColumnNumberUsed(i)

Errm, of course it's not /that/ simple ;-P

We also need:

int i = columnNumber - 1;
int lastIndex = columnNumber + colspan - 1;
while (++i < lastIndex) {
  if (isColumnNumberUsed(i)) {

Commit fixing both issues to follow soon.



Reply via email to