Hello

In the following example, I'm testing warnings on region-before overflow.
I create 2 page-sequences of 1 page with region-before overflow
I'm expecting 2 warnings but only get 1

* With FOP-trunk 663011:
WARN: Content overflows the viewport of the fo:region-before on page 2 in 
block-progression direction by 48000 millipoints. (See position 26:44)
--> Only 1 warning

* With FOP 0.95-beta:
WARN: static-content overflows the available area. (fo:static-content, 
location: 11/44)
WARN: Part/page 0 overflows the available area in block-progression dimension. 
(fo:static-content, location: 26/44)
--> Warnings are different

The only difference between the 2 page-sequences is the "keep-together" on the 
fo:block of the static-content


I have tested with several "extent" values: if the extent value is very low, 
the warning appears but when I increase the extent value, the warning 
disappears.


Do you have some explanations or is it a bug ?
Thanks for your help
Patrice


--------------------------------------------------------------------------
<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
        <fo:layout-master-set>
                <fo:simple-page-master master-name="SPM" page-height="80mm" 
page-width="148mm" margin="7mm 4mm 7mm 4mm">
                        <fo:region-body margin="22mm 10mm 12mm 10mm" 
background-color="yellow"/>
                        <fo:region-before extent="24000mpt" 
region-name="SPMBefore" background-color="gray"/>
                        <fo:region-after extent="12mm" region-name="SPMAfter" 
display-align="after"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="SPM" >
                <fo:static-content flow-name="SPMBefore">
                        <fo:block color="blue">
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                        </fo:block>
                </fo:static-content>
                <fo:flow flow-name="xsl-region-body">
                                <fo:block>Texte</fo:block>
                                <fo:block>Texte</fo:block>
                </fo:flow>
        </fo:page-sequence>
        <fo:page-sequence master-reference="SPM" >
                <fo:static-content flow-name="SPMBefore">
                        <fo:block color="blue" 
keep-together.within-column="always">
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                                <fo:block>STATIC-CONTENT</fo:block>
                        </fo:block>
                </fo:static-content>
                <fo:flow flow-name="xsl-region-body">
                                <fo:block>Texte</fo:block>
                                <fo:block>Texte</fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>
--------------------------------------------------------------------------

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

Reply via email to