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 Mosimann Matthias <Ma...@manor.ch> on 2004/08/16 12:55:22 UTC

Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

Hi everyone


I recieve the following error when I want to translate a xml and it's
xsl stylesheet to pdf:

sh fop.sh -xsl foptest.xsl -xml foptest.xml foptest.pdf
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] org.apache.fop.apps.FOPException: master-reference
'der-einzige-seitentyp' for fo:page-sequence matches no
simple-page-master or page-sequence-master


Anyone could help me? If it's neccessary I will send you the xml and the
xsl file!

Regards and many thanks for your answers!
Matthias 

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


Re: Error while using fop: [ERROR] org.apache.fop.apps.FOPException: master-reference

Posted by Glen Mazza <gr...@yahoo.com>.
I suspect there is something wrong with your
transformation--the fo:layout-master-set is not
getting copied over into the FO document.

FOP is claiming that your fo:layout-master-set (at the
top of your FO) has no simple-page-master or
page-sequence-master called "der-einzige-seitentyp". 
Please check for the fo:layout-master-set in the
resultant file and make sure it has a
"der-einzige-seitentyp".  (Use Xalan for this.)

You may also wish to look at examples/pagination to
see the use of layout-master-set.  

Glen

--- Mosimann Matthias <Ma...@manor.ch>
wrote:


> [ERROR] org.apache.fop.apps.FOPException:
> master-reference
> 'der-einzige-seitentyp' for fo:page-sequence matches
> no
> simple-page-master or page-sequence-master
> 
> 
> Anyone could help me? If it's neccessary I will send
> you the xml and the
> xsl file!
> 
> Regards and many thanks for your answers!
> Matthias 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> fop-user-help@xml.apache.org
> 
> 


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