xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From COFFMAN Steven <SCoff...@CBSINC.com>
Subject RE: FOP does not work
Date Mon, 02 Oct 2000 16:36:32 GMT
I dunno if anyone helped you, but the version of fop.jar, sax.jar, and
xerces.jar are inconsistant try the latest of each. GetQName -> GetRawName
when Sax2 was finalized.
-Steve

-----Original Message-----
From: Rajendran Subbiah [mailto:srajendran@hotmail.com]
Sent: Friday, September 29, 2000 6:30 PM
To: fop-dev@xml.apache.org
Subject: FOP does not work


I am a newbie and I am trying to create PDF out of FO. I took a sample *.fo
file and try to execute the commandLine. I will appreciate your help
Thanks
-Raj
I have copied all the "jar" files into one folder and I tried to execute the
following command line  and I get the error given below.

java -cp c:/fop/fop.jar;c:/fop/w3c.jar;c:/fop/xml.jar;c:/fop/xerces.jar
org.apache.fop.apps.CommandLine %1.fo %1.pdf

FOP-0_14_0
using SAX parser org.apache.xerces.parsers.SAXParser
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping org.apache.fop.fo.StandardElementMapping
using element mapping org.apache.fop.svg.SVGElementMapping
using property list mapping org.apache.fop.fo.StandardPropertyListMapping
using property list mapping org.apache.fop.svg.SVGPropertyListMapping
building formatting object tree
Exception in thread "main" java.lang.NoSuchMethodError:
org.xml.sax.Attributes:
method getQName(I)Ljava/lang/String; not found
        at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java,
Comp
iled Code)
        at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java,
Comp
iled Code)
        at
org.apache.xerces.framework.XMLParser.callStartElement(XMLParser.java
, Compiled Code)
        at
org.apache.xerces.framework.XMLDocumentScanner.scanElement(XMLDocumen
tScanner.java, Compiled Code)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
atch(XMLDocumentScanner.java, Compiled Code)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
canner.java, Compiled Code)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1208)
        at org.apache.fop.apps.Driver.buildFOTree(Driver.java:261)
        at org.apache.fop.apps.CommandLine.main(CommandLine.java:183)

Mime
View raw message