That should be fo:page-sequence-master.

 

Eric Amick   Systems Engineer II

Legislative Computer Systems

 

From: Brian Trezise [mailto:[email protected]] 
Sent: Tuesday, May 11, 2010 11:59
To: [email protected]
Subject: Problem with page masters

 

Ok, so I'm using the following xsl-fo to define my pages:

                                    <fo:layout-master-set>

                                                <fo:simple-page-master
master-name="A4-portrait"

 
page-height="11in" page-width="8.5in" margin="2cm">

 
<fo:region-body />

 
<fo:region-before />

 
<fo:region-after />

                                                </fo:simple-page-master>

                                                <page-sequence-master
master-name="TOC" >

 
<fo:repeatable-page-master-reference master-reference="A4-portrait"
maximum-repeats="0" />

                                                </page-sequence-master>

                                    </fo:layout-master-set>

 

>From what I can find in the xsl-fo spec, that should work.  However, I'm
getting the following exception when I try to run the transformation:

 

(Location of error unknown)org.apache.fop.fo.ValidationException:
Error(Unknown location): fo:repeatable-page-master-reference is not a
valid child element of page-sequence-master.

 

Am I doing something wrong or is this a bug?  The FOP compliance table
lists these tags as supported?

Thanks,

-----------------------------

Brian Trezise

IntelliData, Inc.

Staff Software Engineer

[email protected]

t: 720.524.4864

m: 303.809.9782

 

Reply via email to