You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Tiku Ram Arya <ar...@gmail.com> on 2009/10/01 08:47:50 UTC

FOPException: null:14:57 subsequences exhausted in page-sequence-master "string" cannot recover

Hi I am new to the Apache FOP. I setup the environment in JDeveloper and
started the first program to generate PDF for XML document.
When I run *FotoPDF.java *the program I got following message in the run
Window.

[INFO] Using oracle.xml.parser.v2.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] property 'page-widht' ignored
[ERROR] property 'page-widht' ignored
[WARNING] conditional-page-master-reference: page-position='last' is not yet
implemented (NYI)
[WARNING] subsequences exhausted in page-sequence-master 'pageFormat', use
previous subsequence
[WARNING] conditional-page-master-reference: page-position='last' is not yet
implemented (NYI)
*FOPException: null:14:57 subsequences exhausted in page-sequence-master
'pageFormat', cannot recover*
Process exited with exit code 0.


my StandardPO.xsl is as follows

   <fo:layout-master-set>
    <fo:simple-page-master margin=".5in" page-widht="8.5in"
page-height="11in" master-name="first"><!--margine="1in" border="solid thick
blue"-->
    <!-- this will be the first page for our template -->
        <fo:region-body space-before="0in" space-after="0in"/>
        <fo:region-before start-indent="0in" end-indent="0in"/>
        <fo:region-after region-name="firstFoot"/>
    </fo:simple-page-master>
    <fo:simple-page-master margin=".5in" page-widht="8.5in"
page-height="11in" master-name="rest"><!--margine="1in" border="solid thick
blue"-->
    <!-- this will be the first page for our template -->
        <fo:region-body space-before="0in" space-after="0in"/>
        <fo:region-before start-indent="0in" end-indent="0in"/>
        <fo:region-after region-name="lastFoot"/>
    </fo:simple-page-master>
    <!-- creating the master page sequence -->
    *<fo:page-sequence-master master-name="pageFormat">*
        <fo:repeatable-page-master-alternatives>
               <fo:conditional-page-master-reference master-reference="rest"
page-position="last"/>
               <fo:conditional-page-master-reference
master-reference="first" page-position="rest"/>
        </fo:repeatable-page-master-alternatives>
    </fo:page-sequence-master>
</fo:layout-master-set>
<!-- second section of the page layout comes here where all the content will
resides -->
<xsl:for-each select="PO_PRINT_97/LIST_G_PO_HEADER_ID/G_PO_HEADER_ID">
    <fo:page-sequence master-reference="pageFormat" initial-page-number="1">

Please suggest the solution for above.
With Regards
Tiku Ram Arya