Hello everyone,

I am having this problem for long time now and I don't know what to do. I am able to 
complie SaveAsJPEG.java sample file but when I try to run the class file with my 
sample svg file it generates following errors. 

============================================================

C:\Apache Group\Batik\xml-batik>java SaveAsJPEG barchartnew.svg


java.io.IOException: The current document is unable to create an element of the
requested type (namespace: http://www.w3.org/2000/svg, name: coordinates).
        at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown S
ource)
        at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
 Source)
        at org.apache.batik.dom.svg.SAXSVGDocumentFactory.createDocument(Unknown
 Source)
        at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown S
ource)
        at SaveAsJPEG.main(SaveAsJPEG.java:23)
Exception in thread "main" org.apache.batik.transcoder.TranscoderException: null

Enclosed Exception:
The current document is unable to create an element of the requested type (names
pace: http://www.w3.org/2000/svg, name: coordinates).
        at org.apache.batik.transcoder.XMLAbstractTranscoder.transcode(Unknown S
ource)
        at SaveAsJPEG.main(SaveAsJPEG.java:23)

============================================================

Any help is highly appreciated. 

Thanks,
Irfan



-- 
===

Another FREE service from Jayde Online <http://www.jayde.com>
Private, Web-based email accounts at http://www.jaydemail.com

Powered by Outblaze

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to