[
https://issues.apache.org/jira/browse/FOP-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14575384#comment-14575384
]
Luis Bernardo commented on FOP-2060:
------------------------------------
I still stand by my comment. The statement from the page I provided is the
following: There is nothing in the XSL 1.1 Recommendation that has an fo:block
generating an empty area before jumping to the next page. It doesn't say
anything about nested blocks. I think it is more general than that. For me it
makes sense because in general, for the situations where you want an empty
page, you can use the blank-or-not-blank property.
Similarly, you cannot start a document with an empty page by starting the
document with a:
<fo:block break-before="page"></fo:block>
Also, the following should not add an empty page:
<fo:block break-before="page" break-after="page"></fo:block>
> 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)