You need attention to detail to get this stuff working .....

For a start look at the message
[ERROR] property 'page-widht' ignored
What happens if you spell it right : page-width
?

And - if the warning says 'not yet implemented'  then the feature is not yet 
implemented.
Remove it and see what happens.


Unhelpfully,
Maybe,
Richard.






________________________________
From: Tiku Ram Arya [mailto:[email protected]]
Sent: 30 September 2009 16:40
To: [email protected]; [email protected]
Subject: FOPException: null:14:57 subsequences exhausted in page-sequence-master


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.

Reply via email to