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 Lo...@log-net.com on 2002/06/07 20:34:36 UTC

servlet called twice and subsequence error

I'm running into the issue of the fop servlet being called twice and I am
getting the following error:

ERROR  [fop]:Page subsequences exhausted. Using previous subsequence.

Anyone have any ideas what this means?

Thanks,
Lou


Re: servlet called twice and subsequence error

Posted by "Peter B. West" <pb...@powerup.com.au>.
Louis,

To elaborate on this a bit. You have a page-master with some inherent 
limit on the number of pages it can produce. A page-sequence can refer, 
via master-reference, to either a simple-page-master or a 
page-sequence-master. The spec has, at 6.4.1.3 Page Generation:

"Each fo:page-sequence references either an fo:page-sequence-master or a 
page-master. If the reference is to a page-master, this is interpreted 
as if it were a reference to an fo:page-sequence-master that repeats the 
referenced page-master an unbounded number of times." (The rest of this 
paragraph becomes ambiguous.)

So if (a) your page-sequence master-reference names a simple-page-master 
directly, that simple-page-master will be used repeatedly as long as any 
content remains in the fo:flow to be laid out. If (b) your page-sequence 
master-reference names a page-sequence-master, this automatic repetition 
is not in effect. If the page-sequence-master contains a 
simple-page-master-reference, the simple-page-master named in the 
simple-page-master-reference will be used only once. To obtain the same 
effect as (a) your page-sequence master would have to name a 
repeatable-page-master-reference with a maximum-repeats property set to 
"no-limit". Fortunately, the default value for maximum-repeats is 
"no-limit".

Take a look at Dave Pawson's tutorial (written with the assistance of 
Arved, Karen and Keiron, I believe) at 
<http://www.dpawson.co.uk/xsl/sect3/bk/ch05.html#d0e2601>

Peter

J.Pietschmann wrote:

> Louis.Masters@log-net.com wrote:
>
>> and I am
>> getting the following error:
>>
>> ERROR [fop]:Page subsequences exhausted. Using previous subsequence.
>>
> This has nothing to do with the first problem. You have
> an incomplete page master, check it.




Re: servlet called twice and subsequence error

Posted by "J.Pietschmann" <j3...@yahoo.de>.
Louis.Masters@log-net.com wrote:
> I'm running into the issue of the fop servlet being called twice
This is a known problem with IEx. Use an URL ending in .pdf for
the PDF. (is there a law or something that people are generally
unimaginative for the URL-to-Object mapping of their servlets?)

> and I am
> getting the following error:
> 
> ERROR  [fop]:Page subsequences exhausted. Using previous subsequence.
> 
This has nothing to do with the first problem. You have
an incomplete page master, check it.

J.Pietschmann