[ https://issues.apache.org/jira/browse/FOP-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575276#comment-14575276 ]
Luis Bernardo commented on FOP-2060: ------------------------------------ Not adding the empty box in the first place is a good thing. I didn't do it because removing it later seemed simpler to implement. But I am confused about the relevance of the 2060-empty-block-issue.xml example... The correct output should be 2 pages, not 3, so I think the fix stands. Comments? > 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)