W3C home > Mailing lists > Public > www-xsl-fo@w3.org > September 2001

FOP 0.20.1 and new methods

From: MEMMADI Said <said.memmadi-renexter@renault.com>
Date: Mon, 03 Sep 2001 13:07:33 +0200
To: www-xsl-fo@w3.org
Message-Id: <467d7b5f.7b5f467d@umr.renault.com>
Hi all
May be have the good methods in the new version 0.20.1 or some servlet code exemple wich 
do the same conversion from xsl,xml to Pdf ?

My code is runnig ok with the fop.jar (28/11/2000) but not with 13/08/2001.

Thanks in advance.



Found 6 semantic errors compiling "D:/projects/EDIRIS/dev/java/test/Xml2PdfWithFop.java":

   107.             
driver.addPropertyList("org.apache.fop.fo.StandardPropertyListMapping");
                    
<--------------------------------------------------------------------->
*** Error: No method named "addPropertyList" was found in type 
"org/apache/fop/apps/Driver".


   108.             driver.addPropertyList("org.apache.fop.svg.SVGPropertyListMapping");
                    <----------------------------------------------------------------->
*** Error: No method named "addPropertyList" was found in type 
"org/apache/fop/apps/Driver".


   111.             driver.setOutputStream(new PrintWriter(new FileWriter(pdfName)));
                    <-------------------------------------------------------------->
*** Error: No match was found for method "setOutputStream(java.io.PrintWriter)".


   112.             driver.buildFOTree(parser, new InputSource(new StringReader(fo)));
                    <--------------------------------------------------------------->
*** Error: No method named "buildFOTree" was found in type "org/apache/fop/apps/Driver".


   113.             driver.format();
                    <------------->
*** Error: No method named "format" was found in type "org/apache/fop/apps/Driver".


   114.             driver.render();
                    <------------->
*** Error: No match was found for method "render()".
Received on Monday, 3 September 2001 07:07:32 GMT

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