Created attachment 23547 [details] fo file and resulting pdf if i use table in a Region Before or a Region after, table is duplicated. it seems table is multiplicated by the page number : 2 table on page 2, 3 on page 3, etc. it was not the case with previous version. i have joined a FO file to reproduce the bug and the resulting PDF.
Created attachment 23623 [details] Simplified FO file showing the problem Thank you for your bug report. I attach a simplified FO file that can be used for debugging. Not sure what is the reason for the duplication of the table though.
(In reply to comment #1) > Created an attachment (id=23623) [details] > Simplified FO file showing the problem > > Thank you for your bug report. I attach a simplified FO file that can be used > for debugging. Not sure what is the reason for the duplication of the table > though. I did a quick check here, but haven't found out what the exact cause is either. One interesting thing I did notice so far: it is not the table that is duplicated, but the table-cell. On the first page, I get only one call to TableCellLM. On the second page, I get two, made by the same RowGroupLM. The table-body on the second page has its rowGroups set to 2...
Most likely cause: when cloning the table-body upon each marker-retrieval, it does not go deep enough. Some member (can't tell yet which one exactly) is copied as a reference, while it should, in fact, be an entirely separate instance. Overriding clone() in the corresponding FONode type (TablePart?) to add specific behavior may just be enough to fix this...
Fixed in rev. 774280 http://svn.apache.org/viewvc?view=rev&revision=774280
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed