page-position="last" has been implemented with FOP 0.92beta [1] and
improved in later releases. I assume you're using a rather old version
of FOP and so I urge you to do an upgrade to the latest release.

[1] http://xmlgraphics.apache.org/fop/changes.html#version_0.92beta

On 30.09.2009 17:39:31 Tiku Ram Arya wrote:
> 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 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
> 
> 
> 
> CSC • This is a PRIVATE message. If you are not the intended recipient, 
> please delete without copying and kindly advise us by e-mail of the 
> mistake in delivery.  NOTE: Regardless of content, this e-mail shall not 
> operate to bind CSC to any order or other contract unless pursuant to 
> explicit written agreement or government initiative expressly permitting 
> the use of e-mail for such purpose • Computer Sciences Corporation India 
> Pvt Ltd • 7th,Floor, Block 1B, DLF IT Park, Sivaji Garden, Moonlight Stop, 
> Nandambakkam Post, Ramapuram, Chennai-600 089.
> 




Jeremias Maerki


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

Reply via email to