BUG in initial-page-number handling?

This xsl:fo document renders 3 pages

<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
        <fo:layout-master-set>
                <!-- layout for the first page -->
                <fo:simple-page-master master-name="testMaster"
page-height="29.6cm" page-width="21cm" margin-top="0.5cm"
margin-bottom="0.5cm" margin-left="2cm" margin-right="2cm">
                        <fo:region-body margin-top="0.5cm"/>
                        <fo:region-before extent="2cm"/>
                        <fo:region-after extent="0cm"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="testMaster" >
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>test</fo:block>
                </fo:flow>
        </fo:page-sequence>
<!-- without initial-page-number -->    
<fo:page-sequence master-reference="testMaster" initial-page-number="1">
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>test</fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>


This document is correct, only two pages

<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
        <fo:layout-master-set>
                <!-- layout for the first page -->
                <fo:simple-page-master master-name="testMaster"
page-height="29.6cm" page-width="21cm" margin-top="0.5cm"
margin-bottom="0.5cm" margin-left="2cm" margin-right="2cm">
                        <fo:region-body margin-top="0.5cm"/>
                        <fo:region-before extent="2cm"/>
                        <fo:region-after extent="0cm"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="testMaster" >
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>test</fo:block>
                </fo:flow>
        </fo:page-sequence>
<!-- without initial-page-number -->
        <fo:page-sequence master-reference="testMaster" >
                <fo:flow flow-name="xsl-region-body">
                        <fo:block>test</fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>


Any ideas?




henrik


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

Reply via email to