Problems opening a SVG file

Hi!

I'm trying to open a local SVG file to work with it but only works when i use a
URL.. how can i change?

my code:

------------------this works------------------------
String parser = XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
String uri = "http://mywebpage.de/file.svg";
docSVG = f.createDocument(uri);

---------------this not works-----------------------
String parser = XMLResourceDescriptor.getXMLParserClassName();
SAXSVGDocumentFactory f = new SAXSVGDocumentFactory(parser);
String uri = "C:\\file.svg";
docSVG = f.createDocument(uri);

-----------------------
-----------------------
Thank's



--
Xavier Murillo

Received on Tuesday, 29 June 2004 06:57:17 UTC