Hi Selva, news <[EMAIL PROTECTED]> wrote on 04/19/2006 06:10:44 AM:
> > >>> use2.setAttributeNS(null, "style", "fill: > > url(file:///C:/de.svg#MyGradient)"); > > > > > > Even though i tried with correct syntax, it is giving following > > exception. > > > > > > org.apache.batik.bridge.BridgeException: null:0 > > > An I/O error occured while processing the URI: > > > "file:/C:/de.svg#MyGradient" > > > This is wrong, you must have three (3), [yes three] slashes > > after the 'file:'. Cameron's URL is correct. > > i am using 3 slashes in my code, but while throwing exception, it is > displaying with single slash. I am using the following syntax like Cameron > mentioned. Ok, This is odd, something is changing this URL for the message. I have tried to reproduce this problem and I only get this error message if there is no file 'de.svg' (or it is unreadable) at the root of the 'C:' drive. So, do you have a file 'de.svg' at the root of your 'C:' drive? > use2.setAttributeNS(null, "style", "fill:url(file:///C:/de.svg#MyGradient)"); --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
