xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Bridgeland <bridgel...@yahoo.com>
Subject line before fo:list-block is repeated after: fop bug?
Date Fri, 04 Apr 2003 23:53:59 GMT
I think I have found a bug in FOP 0.20.5rc2.

I have fo that I expect to product PDF that looks like this:

> This line is somehow being repeated:
> 5 The list item body.
> The text after the errant repeat.


Instead it produces PDF that looks like this:

> This line is somehow being repeated:
> 5 The list item body.
> This line is somehow being repeated:
> The text after the errant repeat.

The line "This line is somehow being repeated" is in fact errantly 
repeated after the list-block that produces "5 The list item body".

My FO is below.

Any ideas? Is this a known bug?

Dave Bridgeland

FO file: 
---------------------------------------------------------------------------

<?xml version="1.0"?>

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" 
font-family="serif" font-size="10pt" text-align="justify" 
line-height="normal" language="en">

<fo:layout-master-set>

<fo:simple-page-master master-name="body-draft" page-width="8.5in" 
page-height="11in" margin-top="0.5in" margin-bottom="0.5in" 
margin-left="1in" margin-right="1in">
<fo:region-body margin-bottom="0.5in" margin-top="0.5in" />
</fo:simple-page-master>

</fo:layout-master-set>

<fo:page-sequence hyphenate="true" master-reference="body-draft" 
language="en_GB" format="1" initial-page-number="1">

<fo:flow flow-name="xsl-region-body">
<fo:block >

<fo:block>
This line is somehow being repeated:
<fo:block>
<fo:list-block>
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>5</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block>
The list item body.
</fo:block>
</fo:list-item-body>
</fo:list-item>
</fo:list-block>
</fo:block>
</fo:block>

<fo:block>
The text after the errant repeat.
</fo:block></fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message