On 24 Mar 2010, at 19:33, Pete Allison wrote:
Hi Pete > I recently upgraded from 0.94 to 0.95, which must follow the standard more > rigidly. One of my sheets is not working. The error that I have is > > SEVERE: Exception javax.xml.transform.TransformerException: > org.apache.fop.fo.ValidationException: Error(55/2313): column-number or > number of cells in the row overflows the number of fo:table-column specified > for the table. > > Unfortunately, this is a long and involved sheet. Is there any way to track > down the location in the sheet that causing the problem? Well, the location is already given in the error message: "Error(55/2313)..." means that the offending node is located on row 55/column 2313 in your FO file. It may be that this actually points you to the fo:table, I am not at all sure... In that case, you could try obtaining the location(s) of the fo:table-rows by means of an XPath expression: fo:table-row[count(fo:table-cell) > count(ancestor::fo:table/fo:table-column)] That is, if you are using fo:table-rows... If you're using bare fo:table-cells with starts-row/ends-row, the XPath would obviously become more complicated to figure out. At any rate, using XPath to find the offending rows would at least give you all of them in one go. If you just use the location in the error message and fix your FO there, chances are there's another row further on with the same issue... HTH! Regards, Andreas Delmelle --- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
