Hi Selva.

Selva:
> if I use fill with  url(defs.svg#gradient_1), it is throwing following 
> exception.

Are you running this in Squiggle?  Or your own application with a
JSVGCanvas?  If you are building up a Document, then displaying it using
the canvas component's setDocument method, then you should use an
absolute URL to give the location of your defs.svg (perhaps a local file
URL such as file:///C:/somewhere/defs.svg on Windows or
file:/somewhere/defs.svg on Unix, or an http URL).

-- 
 Cameron McCormack                      ICQ: 26955922
 cam (at) mcc.id.au                     MSN: cam (at) mcc.id.au
 http://mcc.id.au/                      JBR: heycam (at) jabber.org

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

Reply via email to