W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2002

FOPException i can't resolve....

From: <Jochen.Maes@kbcsecurities.be>
Date: Wed, 23 Jan 2002 09:48:57 +0100
To: www-xsl-fo@w3.org
Message-ID: <OF82418DD4.A985B4CF-ONC1256B4A.0030ADA5@kbcsecurities.be>

this is the error i get using Fop-0.20.3rc. under the error it showes my
xsl.
can anyone help me?


[DEBUG]: using SAX parser org.apache.xerces.parsers.SAXParser
[INFO]: building formatting object tree
[DEBUG]: setting up fonts
[INFO]: Parsing of document complete, stopping renderer
[DEBUG]: Initial heap size: 987Kb
[DEBUG]: Current heap size: 1293Kb
[DEBUG]: Total memory used: 306Kb
[DEBUG]:   Memory use is indicative; no GC was performed
[DEBUG]:   These figures should not be used comparatively
[DEBUG]: Total time used: 331ms
[DEBUG]: Pages rendererd: 0
org.apache.fop.apps.FOPException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at org.apache.fop.apps.Driver.render(Driver.java:486)
        at com.kbcsecurities.fop.XmltoPdf.main(XmltoPdf.java:53)
---------
javax.xml.transform.TransformerException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at
org.apache.xalan.transformer.TrAXFilter.parse(TrAXFilter.java:137)
        at org.apache.fop.apps.Driver.render(Driver.java:481)
        at com.kbcsecurities.fop.XmltoPdf.main(XmltoPdf.java:53)
---------
javax.xml.transform.TransformerException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1212)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
---------
javax.xml.transform.TransformerException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:755)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
---------
org.apache.fop.apps.FOPException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:202)
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182)
        at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:284)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:749)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
---------
org.apache.fop.apps.FOPException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at
org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(PageSequence.java:532)
        at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:334)
        at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:268)
        at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200)
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182)
        at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:284)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:749)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
---------
org.apache.fop.apps.FOPException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:202)
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182)
        at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:284)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:749)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)
---------
org.apache.fop.apps.FOPException: 'master-reference' for
'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
        at
org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(PageSequence.java:532)
        at
org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:334)
        at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:268)
        at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200)
        at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182)
        at
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:284)
        at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:749)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2154)
        at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2097)
        at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2029)
        at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1189)
        at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2894)
        at java.lang.Thread.run(Thread.java:484)

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="
1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <xsl:output method="html"/>
  <xsl:strip-space elements="*"/>
  <xsl:template match="/">
    <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <fo:layout-master-set>
        <fo:simple-page-master master-name="Brief" page-height="29.7cm"
page-width="21cm" margin-top="1cm" margin-bottom="1cm" margin-left="2.5cm"
margin-right="2.5cm">
           <fo:region-body margin-top="3cm"/>
           <fo:region-before extent="3cm"/>
           <fo:region-after extent="2.8cm"/>
        </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-name="Brief">
      </fo:page-sequence>



Jochen Maes
EDP departement
Programmeur

KBC-Securities
Havenlaan 16
1080 Brussel

Tel : 02/429.96.81
Fax : 02/429.17.48
E-mail : Jochen.Maes@kbcsecurities.be

**********************************************************************************************************************************************************

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. KBC Securities
reserves the right to monitor all e-mail communications through its
networks. Any views expressed in this message are those of the individual
sender, except where the message states otherwise and the sender is
authorised to state them to be the views of any such entity.
**********************************************************************************************************************************************************
Received on Wednesday, 23 January 2002 03:53:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT