keep-with-next does not work in a nested table, need workaround
I am using fop version 0.20.5 on Windows-XP. I am creating PDF output.
There is a table cell that contains a table that overflows a page. The overflowed part is rendered on the second page and has exactly the height of the padding-top (=3pt) but has no content.
I want to avoid that a small (and empty) part of the table gets rendered the next page. When two or more rows would be in that part, it would be fine.
One might think that the solution is to use table-rows and put a 'keep-with-next' property on the last 2..3 rows.
But this does not work when the table-rows are in a table that is in a table cell of another table.
Is there a solution for this problem?
This minimized xsl-fo file produces the undesired output: