[ https://issues.apache.org/jira/browse/FOP-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias Reischenbacher updated FOP-2060: ----------------------------------------- Attachment: 2060-empty-block-issue.xml The attached file produces a 2-page output with the change of this ticket. Previously it was a 3-page-output. Perhaps it would be better to avoid adding the auxiliary positions in the first place, instead of removing them in the AbstractBreaker. Do want me to have a look in this direction, Luis? Or can you? > adjoining blocks with break-before="page" break-after="page" cause extra > empty page > ----------------------------------------------------------------------------------- > > Key: FOP-2060 > URL: https://issues.apache.org/jira/browse/FOP-2060 > Project: FOP > Issue Type: Bug > Components: layout/unqualified > Affects Versions: trunk > Environment: Operating System: All > Platform: All > Reporter: Luis Bernardo > Fix For: trunk > > Attachments: 2060-empty-block-issue.xml, test.fo, test.pdf > > > This causes five pages instead of four: > <fo:block> > <fo:block>page 1</fo:block> > <fo:block break-before="page" break-after="page">page 2</fo:block> > <fo:block break-before="page" break-after="page">page 3</fo:block> > <fo:block>page 4</fo:block> > </fo:block> > The empty extra page happens between page 2 and page 3. -- This message was sent by Atlassian JIRA (v6.3.4#6332)