int rowSpan = cell.getNumberRowsSpanned();
Table t = getTable();
if (t.hasExplicitColumns()) {
if (colNumber + colSpan - 1 > t.getNumberOfColumns()) {
throw new ValidationException(FONode.errorText(locator) + "column-number or "
+ "number of cells in the row overflows the number of fo:table-column "
+ "specified for the table.");
}
} else {
t.ensureColumnNumber(colNumber + colSpan - 1);