Hi Selva,
news <[EMAIL PROTECTED]> wrote on 04/19/2006 05:57:08 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.
> specified on the element <rect>
>
> at org.apache.batik.bridge.BridgeContext.getReferencedElement
> (BridgeContext.java:612)
>
> at org.apache.batik.bridge.PaintServer.convertURIPaint
> (PaintServer.java:348)
>
> at org.apache.batik.bridge.PaintServer.convertPaint
> (PaintServer.java:259)
>
> at org.apache.batik.bridge.PaintServer.convertFillPaint
> (PaintServer.java:228)
>
> at org.apache.batik.bridge.PaintServer.convertFillAndStroke
> (PaintServer.java:146)
> .
> .
> .
>
>
> Thanks,
> Selva
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]