That's a known bug:
http://issues.apache.org/bugzilla/show_bug.cgi?id=40230

See also: http://xmlgraphics.apache.org/fop/knownissues.html

You can easily work around this in XSLT. Just test for the last
XSLCollectionWrapper element and don't create the break in that case.

Jeremias Maerki



On 31.10.2007 10:29:19 m_dieu wrote:
> 
> Hi,
> 
> I've got some problems by using the break-after property.
> First of all here the code:
> 
> (...)
> <xsl:for-each select='XSLCollectionWrapper'>
> <fo:block keep-with-next="always">
>       <fo:table table-layout='fixed' width='180mm'> 
>         (...)
>         </fo:table>
> </fo:block>
> <fo:block break-after="page">&nbsp;</fo:block>
> </xsl:for-each>
> --END OF THE FOP
> 
> 
> The Collection XSLCollectionWrapper contains 7 elements, but my PDF becomes
> generated with 9 pages?!? Page 8 and 9 are empty!
> 
> Does someone has any idea? Thanks in advance...
> -- 
> View this message in context: 
> http://www.nabble.com/Empty-pages-after-%22break-after%22-tf4723712.html#a13505459
> Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to