[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fop-user
Subject:    RE: FOPException: null:14:57 subsequences exhausted in
From:       "Kerry, Richard" <richard.kerry () siemens ! com>
Date:       2009-09-30 16:00:06
Message-ID: C4D3610372CCEE4FBE647EF939D648B838F8378A () DEFTHW99E25MSX ! ww902 ! siemens ! net
[Download RAW message or body]

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:tarya@csc.com]
Sent: 30 September 2009 16:40
To: fop-user@xml.apache.org; fop-users-help@xmlgraphics.apache.org
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.


[Attachment #3 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5848" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>You need attention to detail to get this stuff working 
.....</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>For a start look at the message</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2><FONT color=#000000>[ERROR] property 'page-widht' 
ignored<FONT face="Times New Roman" size=3> 
</FONT></FONT><BR></FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>What happens if you spell it right : 
page-width</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>And - if the warning says 'not yet implemented'&nbsp; then 
the feature is not yet implemented.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>Remove it and see what happens.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>Unhelpfully,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>Maybe,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2>Richard.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=430255715-30092009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff 
size=2></FONT>&nbsp;</DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT 
face=Arial color=#0000ff size=2></FONT><BR>
<BLOCKQUOTE 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> Tiku Ram Arya [mailto:tarya@csc.com] 
  <BR><B>Sent:</B> 30 September 2009 16:40<BR><B>To:</B> 
  fop-user@xml.apache.org; 
  fop-users-help@xmlgraphics.apache.org<BR><B>Subject:</B> FOPException: 
  null:14:57 subsequences exhausted in page-sequence-master<BR></FONT><BR></DIV>
  <DIV></DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial 
  color=#0000ff size=2></FONT><BR><FONT face=sans-serif size=2>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.</FONT> <BR><FONT face=sans-serif 
  size=2>When I run the program I got following message in the run 
  Window.</FONT> <BR><BR><FONT face=sans-serif size=2>[INFO] Using 
  oracle.xml.parser.v2.SAXParser as SAX2 Parser</FONT> <BR><FONT face=sans-serif 
  size=2>[INFO] building formatting object tree</FONT> <BR><FONT face=sans-serif 
  size=2>[INFO] setting up fonts</FONT> <BR><FONT face=sans-serif size=2>[ERROR] 
  property 'page-widht' ignored</FONT> <BR><FONT face=sans-serif size=2>[ERROR] 
  property 'page-widht' ignored</FONT> <BR><FONT face=sans-serif 
  size=2>[WARNING] conditional-page-master-reference: page-position='last' is 
  not yet implemented (NYI)</FONT> <BR><FONT face=sans-serif size=2>[WARNING] 
  subsequences exhausted in page-sequence-master 'pageFormat', use previous 
  subsequence</FONT> <BR><FONT face=sans-serif size=2>[WARNING] 
  conditional-page-master-reference: page-position='last' is not yet implemented 
  (NYI)</FONT> <BR><FONT face=sans-serif size=2>FOPException: null:14:57 
  subsequences exhausted in page-sequence-master 'pageFormat', cannot 
  recover</FONT> <BR><FONT face=sans-serif size=2>Process exited with exit code 
  0.</FONT> <BR><BR><BR><FONT face=sans-serif size=2>my <B>StandardPO.xsl </B>is 
  as follows </FONT><BR><BR><FONT face=sans-serif size=2>&nbsp; 
  &nbsp;&lt;fo:layout-master-set&gt;</FONT> <BR><FONT face=sans-serif 
  size=2>&nbsp; &nbsp; &lt;fo:simple-page-master margin=".5in" 
  page-widht="8.5in" page-height="11in" 
  master-name="first"&gt;&lt;!--margine="1in" border="solid thick 
  blue"--&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; &lt;!-- this 
  will be the first page for our template --&gt;</FONT> <BR><FONT 
  face=sans-serif size=2>&nbsp; &nbsp; &nbsp; &nbsp; &lt;fo:region-body 
  space-before="0in" space-after="0in"/&gt;</FONT> <BR><FONT face=sans-serif 
  size=2>&nbsp; &nbsp; &nbsp; &nbsp; &lt;fo:region-before start-indent="0in" 
  end-indent="0in"/&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; 
  &nbsp; &nbsp; &lt;fo:region-after region-name="firstFoot"/&gt;</FONT> 
  <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; 
  &lt;/fo:simple-page-master&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; 
  &nbsp; &lt;fo:simple-page-master margin=".5in" page-widht="8.5in" 
  page-height="11in" master-name="rest"&gt;&lt;!--margine="1in" border="solid 
  thick blue"--&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; 
  &lt;!-- this will be the first page for our template --&gt;</FONT> <BR><FONT 
  face=sans-serif size=2>&nbsp; &nbsp; &nbsp; &nbsp; &lt;fo:region-body 
  space-before="0in" space-after="0in"/&gt;</FONT> <BR><FONT face=sans-serif 
  size=2>&nbsp; &nbsp; &nbsp; &nbsp; &lt;fo:region-before start-indent="0in" 
  end-indent="0in"/&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; 
  &nbsp; &nbsp; &lt;fo:region-after region-name="lastFoot"/&gt;</FONT> <BR><FONT 
  face=sans-serif size=2>&nbsp; &nbsp; &lt;/fo:simple-page-master&gt;</FONT> 
  <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; &lt;!-- creating the master 
  page sequence --&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; 
  &lt;fo:page-sequence-master master-name="pageFormat"&gt;</FONT> <BR><FONT 
  face=sans-serif size=2>&nbsp; &nbsp; &nbsp; &nbsp; 
  &lt;fo:repeatable-page-master-alternatives&gt;</FONT> <BR><FONT 
  face=sans-serif size=2>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp;&lt;fo:conditional-page-master-reference master-reference="rest" 
  page-position="last"/&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; 
  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
  &nbsp;&lt;fo:conditional-page-master-reference master-reference="first" 
  page-position="rest"/&gt;</FONT> <BR><FONT face=sans-serif size=2>&nbsp; 
  &nbsp; &nbsp; &nbsp; &lt;/fo:repeatable-page-master-alternatives&gt;</FONT> 
  <BR><FONT face=sans-serif size=2>&nbsp; &nbsp; 
  &lt;/fo:page-sequence-master&gt;</FONT> <BR><FONT face=sans-serif 
  size=2>&lt;/fo:layout-master-set&gt;</FONT> <BR><FONT face=sans-serif 
  size=2>&lt;!-- second section of the page layout comes here where all the 
  content will resides --&gt;</FONT> <BR><FONT face=sans-serif 
  size=2>&lt;xsl:for-each 
  select="PO_PRINT_97/LIST_G_PO_HEADER_ID/G_PO_HEADER_ID"&gt;</FONT> <BR><FONT 
  face=sans-serif size=2>&nbsp; &nbsp; &lt;fo:page-sequence 
  master-reference="pageFormat" initial-page-number="1"&gt;</FONT> <BR><BR><FONT 
  face=sans-serif size=2>Please suggest the solution for above.<BR></FONT>
  <TABLE>
    <TBODY>
    <TR>
      <TD><FONT face=Arial color=#808080 size=2><B>With Regards</B></FONT> 
        <BR><FONT face=Arial color=#808080 size=2><B>Tiku Ram Arya</B></FONT> 
        <DIV align=center><BR></DIV></TR></TBODY></TABLE><BR><FONT face=sans-serif 
  size=2><BR><BR>CSC &#8226; 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. &nbsp;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 &#8226; Computer Sciences Corporation India Pvt Ltd &#8226; 
  7th,Floor, Block 1B, DLF IT Park, Sivaji Garden, Moonlight Stop, Nandambakkam 
  Post, Ramapuram, Chennai-600 089.<BR></BLOCKQUOTE></FONT></BODY></HTML>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic