>>>>> "FMA" == Frizzell, Michael A <[EMAIL PROTECTED]> writes:

FMA> as instructed I've added:
FMA> root.setAttributeNS(null,"xml:base","http://foo.bar/bar.svg";);

I keep forgetting your doing everything in ECMA Script.  Try:

   root.setAttributeNS("http://www.w3.org/XML/1998/namespace";, "base",
                       "http://foo.bar/bar.svg";);

FMA> path.setAttributeNS(null,"style","fill:none;filter:url(#glow);stroke-width:5
FMA> ;opacity:1;fill-opacity:1;stroke-opacity:1;stroke:rgb(255,255,0)");

FMA> and the exception goes away. But, at the same time while the
FMA> exception goes away, so does all the style information. 

     The problem is in trying to resolve '#glow'. Since it's a
relative URL it tries to construct the complete URL but dies because
the host documents base url is null.

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

Reply via email to