You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by cl...@tjgroup.com on 2002/05/02 14:40:17 UTC

Master reference for fo:page-sequence

When trying to process my fo-file I get the following error:
FATAL ERROR: 'master-reference' for 'fo:page-sequence'matches no
'simple-page-master' or 'page-sequence-master'


My "header" looks like this and is copy/pasted from the examples

<?xml version="1.0" encoding="ISO-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <fo:layout-master-set>
            <fo:simple-page-master margin-right="0cm" margin-left="7mm"
margin-bottom="0mm" margin-top="3mm" page-width="8.71cm" page-height="54mm"
master-name="first">
                  <fo:region-body></fo:region-body>
            </fo:simple-page-master>
            <fo:simple-page-master margin-right="0pt" margin-left="7mm"
margin-bottom="0mm" margin-top="3mm" page-width="87.1mm" page-height="54mm"
master-name="rest">
                  <fo:region-body></fo:region-body>
            </fo:simple-page-master>
            <fo:page-sequence-master master-name="basicPSM" >
                  <fo:repeatable-page-master-alternatives>
                        <fo:conditional-page-master-reference master-name
="first" page-position="first" />
                        <fo:conditional-page-master-reference master-name
="rest" page-position="rest" />
                        <!-- recommended fallback procedure -->
                        <fo:conditional-page-master-reference master-name
="rest" />
                  </fo:repeatable-page-master-alternatives>
            </fo:page-sequence-master>
      </fo:layout-master-set>

      <fo:page-sequence master-name="basicPSM">

What am I doing wrong?

Cheers

Claes



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Master reference for fo:page-sequence

Posted by Jeremias Maerki <je...@outline.ch>.
Your stylesheet still uses pre-Recommendation XSL:FO. Please see the
release notes for instructions to resolve this:
http://xml.apache.org/fop/relnotes.html

> When trying to process my fo-file I get the following error:
> FATAL ERROR: 'master-reference' for 'fo:page-sequence'matches no
> 'simple-page-master' or 'page-sequence-master'

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org