Created attachment 22077 [details] FO to reproduce issue. Hi I have a use-case where three successive tables with number-rows-spanned that should fit in one page are actually split across two pages . The same three successive tables with NO number-rows-spanned fit in one page. See inclused FO. Thanks.
Hi, Thanks for the bug report and the clean testcase. It's probably a duplicate of bug #45047 but I need to further investigate to be sure. Basically the fixed heights set on table-row elements are creating trouble. If you remove them you get the same result without the spurious page. I can imagine the stepping effect you want to achieve by setting heights on the table rows. I guess you're not happy with the result FOP currently produces (without regards to the spurious page)? :-\ Vincent
resetting P2 open bugs to P3 pending further review
change status from ASSIGNED to NEW for consistency
I found this bug via http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/201103.mbox/browser. It's ugly, but if anyone needs an ad-hoc work-around, you can add an invisible "word" of non-breaking spaces so that the content of the cell actually spans as many rows as have been allotted for it. ie, replace <fo:table-cell number-rows-spanned="2"> <fo:block>Too short!</fo:block> </fo:table-cell> with <fo:table-cell number-rows-spanned="2"> <fo:block>Too short        </fo:block> </fo:table-cell> The invisible word gets line wrapped, assuming your table is narrow enough, and the new block of text is not vulnerable to page-breaking from this bug. For what that's worth.