Thanks, Ganesh Is XML parsers xercesImpl-2.2.1.jar? I can not find other XML Parsers in my classpath and current fop0.20.5 directory. I tried running the Sample document on the command line on the linux machine? There is also java.lang.NoSuchMethodError: org.apache.batik.dom.AbstractAttr: method isReadonly()Z not >found. I narrowed down the problem to the input image file from my xsl file. If I comment <fo:block><fo:external-graphic src="file:nsf_logo.svg" /> </fo:block> from my xsl file, it did generate PDF file. Otherwise, it will cause java.lang.NoSuchMethodError method: org.apache.batik.dom.AbstractAttr: isReadonly()Z not >found. But I put svg image files, xml file, xsl file, pdf file and fop.sh in the same folder fop-0.20.5. There is no reason FOP can not find the image file. Could you explain the reason?
Thanks Judy Cai -----Original Message----- From: Ganesh [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 11:41 PM To: [EMAIL PROTECTED] Subject: RE: embedding fop0.20.5 working on jdk1.3.1-linux? > >java.lang.NoSuchMethodError: org.apache.batik.dom.AbstractAttr: method isReadonly()Z not >found > at org.apache.batik.dom.GenericAttr.(GenericAttr.java:42) > at org.apache.batik.dom.AbstractAttr.setValue(AbstractAttr.java:177) > at org.apache.batik.dom.svg.AbstractElement$ExtendedNamedNodeHashMap.setUns peci >fiedAttribute(AbstractElement.java:238) > These isReadonly error comes only when there is more than one XML parsers are available in your classpath or current directory. Check it out. Ganesh --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
