Hi all

I've updated my version of FOP to 0.20.3 (from Fop 0.20.1) and immediately got an issue with an existing .fo which was working nicely for a while there.

The error I'm getting when kicking FOP into gear is:
[INFO]: FOP 0.20.3
[INFO]: building formatting object tree
[ERROR]: 'master-reference' for 'fo:page-sequence' matches no 'simple-page-master' or 'page-sequence-master'

I take this to mean that either a reference name in my .fo is wrong or missing but the relevant bit of the .fo looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
<fo:simple-page-master master-name="main" margin-right="1cm" margin-left="1cm" margin-bottom="1.5cm" margin-top="1cm" page-width="21cm" page-height="29.7cm">
<fo:region-before extent="3cm"/>
<fo:region-after extent="2.5cm"/>
<fo:region-body margin-top="4cm" margin-bottom="3.5cm" margin-left="0cm" margin-right="0cm"/>
<fo:page-sequence master-name="main">
<fo:static-content flow-name="xsl-region-before">

Am I missing something obvious here or has FOP changed the way it works in some subtle way?


ZYPE - Graphical Interface Design Phone: 03 963 3735 Mobile: 021 400 472 Web: www.zype.co.nz

Reply via email to