That's not a bug, it's an inimplemented feature.
FOP only supports page-positions "first" and "rest", but not "last", AFAIK.
Have a look in the mail-list archive, this topic was discussed a few times.

Markus

$> -----Ursprüngliche Nachricht-----
$> Von: Al-Dhahir, Haitham [mailto:[EMAIL PROTECTED] 
$> Gesendet: Mittwoch, 9. April 2003 16:54
$> An: '[EMAIL PROTECTED]'
$> Betreff: page-position="last" - bug?
$> 
$> 
$> Hi,
$> 
$> Does FOP have a bug which prevents it from correctly processing
$> conditional-page-master-references with the condition 
$> page-position="last"?
$> I have two conditional page masters defined as follows:
$> 
$> <fo:page-sequence-master master-name="document-master">
$>      <fo:repeatable-page-master-alternatives>    
$>              <fo:conditional-page-master-reference 
$> page-position="last"
$> master-reference="lastpage"/>
$>              <fo:conditional-page-master-reference 
$> page-position="any"
$> master-reference="otherpages"/>
$>      </fo:repeatable-page-master-alternatives>
$> </fo:page-sequence-master>
$> 
$> So what I am expecting to happen is the the last page will follow the
$> simple-page-master "lastpage" and the other pages (first and 
$> rest) will
$> follow "otherpages". What is actually happening is that all pages are
$> following "lastpage", i.e. every page is assumed to be the last page.
$> Therefore the simple-page-master "otherpages" is totally ignored.
$> 
$> Can anyone explain why this is happening?
$> 
$> Thanks,
$> 
$> Haitham.
$> 
$> ---------------------------------------------------------------------
$> To unsubscribe, e-mail: [EMAIL PROTECTED]
$> For additional commands, email: [EMAIL PROTECTED]
$> 

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

Reply via email to