This version supports the XSL-FO Version 1.0 W3C Recommendation syntax. So don't forget to update your Stylesheets:
Just rename the master-name property to master-reference on fo:page-sequence, fo:single-page-master-reference, fo:repeatable-page-master-reference and fo:conditional-page-master-reference.
changing all my master-reference to master-name fixed it.
To bad upgrading isn't an option right now :-(
-Eric
At 01:18 PM 12/17/2003 -0500, you wrote:
I'm attempting to use the example from the http://xml.apache.org/fop/fo.html for Recto/Verso Static Content Differences to get different footers on odd & even pages. I'm using FOP 0.20.2 and I get an exception when I try to use the xsl:fo verbatim from the web page.
The error states:
ERROR In com.mtu.XSQLSerializers.FOPSerializer
Stack Trace:
'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master'
org.apache.fop.apps.FOPException: 'master-name' for 'fo:page-sequence'matches no 'simple-page-master' or 'page-sequence-master' at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.(Compiled Code) at java.lang.Exception.(Compiled Code) at org.apache.fop.apps.FOPException.(FOPException.java:28) at org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(Compiled Code) at org.apache.fop.fo.pagination.PageSequence.makePage(Compiled Code) at org.apache.fop.fo.pagination.PageSequence.format(Compiled Code) at org.apache.fop.apps.StreamRenderer.render(Compiled Code) at org.apache.fop.fo.FOTreeBuilder.endElement(Compiled Code) at org.apache.xerces.parsers.SAXParser.endElement(Compiled Code) at org.apache.xerces.validators.common.XMLValidator.callEndElement(Compiled Code) at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(Compiled Code) at org.apache.xerces.framework.XMLDocumentScanner.parseSome(Compiled Code) at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948) at org.apache.fop.apps.Driver.render(Driver.java:459) at org.apache.fop.apps.Driver.run(Driver.java:542) at com.mtu.fop.FOPDriver.render(FOPDriver.java:194) at com.mtu.fop.FOPDriver.renderPDF(Compiled Code) at com.mtu.XSQLSerializers.FOPSerializer.serialize(Compiled Code) at oracle.xml.xsql.XSQLPageProcessor.process(Compiled Code) at oracle.xml.xsql.XSQLServlet.doGet(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at javax.servlet.http.HttpServlet.service(Compiled Code) at org.apache.jserv.JServConnection.processRequest(Compiled Code) at org.apache.jserv.JServConnection.run(Compiled Code) at java.lang.Thread.run(Compiled Code)
Error while attempting to render PDF
I've looked through the mailing list and the example from the FOP web page matches the examples given else where for doing this. Any ideas would be much appreciated.
-Eric Dalquist
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Eric Dalquist
Computer Science
Student Programmer - MTU-ACS
Senior Technician - MTU-SLS
------------------------------