Snipped from CHANGES in the 0.20.3 distro: ... - Changed "master-name" to "master-reference" on fo:page-sequence, fo:single-page-master-reference, fo:repeatable-page-master-reference and fo:conditional-page-master-reference to comply with the latest XSL recommendation. Also changed the unimplemented property space-treatment to white-space-treatment and updated examples and tests to use the new syntax. ...
You need to update you XSL-FO to reflect this change in the code. -- David B. Bitton [EMAIL PROTECTED] www.codenoevil.com Diversa ab illis virtute valemus. ----- Original Message ----- From: "Klosa Uwe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 5:29 AM Subject: Error with 20.0.3! > With 20.0.2 all pages worked fine, but now I'm getting the following error: > > 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.jav > a: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.fop.tools.DocumentReader.parse(DocumentReader.java:463) > at org.apache.fop.apps.Driver.render(Driver.java:481) > at org.apache.fop.apps.Driver.render(Driver.java:501) > at > diva.xml.xsql.serializers.XSQLFOP203Serializer.serialize(XSQLFOP203Serialize > r.java:43) > at > oracle.xml.xsql.XSQLPageProcessor.process(XSQLPageProcessor.java:282) > at oracle.xml.xsql.XSQLServlet.doGet(XSQLServlet.java:60) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application > FilterChain.java:247) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh > ain.java:193) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > va:243) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > va:190) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:2 > 46) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve. > java:170) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170 > ) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 64) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > :174) > at > org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:5 > 66) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) > at > org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:429) > at > org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:495) > at java.lang.Thread.run(Thread.java:536) > > This is my stylesheet: > > <?xml version="1.0" encoding="utf-8"?> > <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0"> > <xsl:template match="/"> > <fo:root> > > <fo:layout-master-set> > <fo:simple-page-master master-name="simple" > page-height="24.2cm" > page-width="16.4cm" > margin-top="0.0cm" > margin-bottom="1cm" > margin-left="2cm" > margin-right="2cm"> > <fo:region-body margin-top="0.5cm"/> > </fo:simple-page-master> > > <fo:page-sequence master-name="simple"> > <fo:flow flow-name="xsl-region-body"> > <fo:block font-family="TimesNewRoman" font-size="9pt"> > <xsl:apply-templates select="pdf/DISSERTATION"/> > </fo:block> > </fo:flow> > </fo:page-sequence> > </fo:root> > </xsl:template> > </xsl:stylesheet> > > What's wrong now? > > Uwe > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]