You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by ni...@caramail.com on 2000/09/29 18:15:21 UTC

Re[1] WARNING : read this !!!

> What version of JVM (1.2.2 by your last message?) and 
Linux (it was linux, right?)?

It was on our server : Sun Sparc os 5.7 and jdk 1.3.0


Bye.
Nicolas
______________________________________________________
BoƮte aux lettres - Caramail - http://www.caramail.com


FOP does not work

Posted by Rajendran Subbiah <sr...@hotmail.com>.
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)