The attached XSL:FO file renders in what I think is an incorrect manner with FOP 0.20.3. The column itself ends up being split across two pages. The row, however, contains a column with "number-rows-spanned". I thought that a column with "number-rows-spanned" would be kept together across a page break- breaking in the middle of the row seems to be an error. I've tried adding the keep-together="always" attribute and it still seems not to work. The column cells with borders are where I think the problem is.
Created attachment 1322 [details] This testcase appears broken
Created attachment 1323 [details] This one appears to work
Created attachment 1877 [details] Additionnal XFO testcase which is broken
Created attachment 1878 [details] Additionnal XFO testcase which is broken, resulting broken PDF document
I believe I experienced the same problem and sent an additionnal "broken" testcase XFO document. I also joined the resulting broken PDF; see end of page 2. The first cell of the row "16:15" is spanned across 9 rows (this cell holds the row-group header). This spanned row crosses the page boundary, but is neverthless rendered on end of page 2, overflowing the xsl-region-body and xsl- footer reference areas. The cells of the subsequent rows, on page 3, are then shifted one column left. In this testcase, I do not use any border properties. The row that crosses the page boundary can be found between the '[BEGIN]' and '[END]' text markers within the testcase XFO document.
Row-span in fop does not work if any of the rows (that the row-span'ed cell spans over) is divided by a page-break. It seems like the divided row is counted as two rows (leaving the last row without the column with the row-spanned cell). Unfortunatelly, the obvious workaround, to set keep-together=always for the row, is not implemented....
Created attachment 4853 [details] Page 5 and 7, Column-text "
Created attachment 4854 [details] test case, added fo-file.
Created attachment 10014 [details] Possible fix for row-span breaks across a page
I'm not seeing any problems with the attached test cases anymore in FOP 0.95 after fixing them for XSL-FO conformance.
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed