as instructed I've added:
root.setAttributeNS(null,"xml:base","http://foo.bar/bar.svg");
But I still run into the same problem. One other side affect that i've
noticed in just trying stuff out is if you remove the "null" in:
path.setAttributeNS(null,"style","fill:none;filter:url(#glow);stroke-width:5
;opacity:1;fill-opacity:1;stroke-opacity:1;stroke:rgb(255,255,0)");
and the exception goes away. But, at the same time while the exception goes
away, so does all the style information. I would suppose that it goes to
some default values ("like a black line) and proceed from there. So,
obviously my filter isn't on either.
As far as the CVS goes, is something that I need to install? Do I just
download later versions of stuff then jus the regular? Thank you...
Mike
-----Original Message-----
From: Thomas E Deweese [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 15, 2002 3:07 PM
To: Batik Users
Subject: RE: Filter Problem with Java
>>>>> "FMA" == Frizzell, Michael A <[EMAIL PROTECTED]> writes:
FMA> I looked into my version and come to find out and merely assumed
FMA> there was another release. I'm using 1.5beta3 as is it. The
FMA> stack: transcode failed: java.lang.NullPointerException
FMA> java.net.URL.<init>(URL.java:366)
[...]
FMA> org.apache.batik.util.ParsedURLData.buildURL(Unknown Source)
[...]
FMA> where the line 149 looks like this: 149 t.transcode(input,
FMA> output);
FMA> input = TranscoderInput output = TranscoderOutput t =
FMA> JPEGTranscoder
I'm 99% sure that it isn't happy that the document doesn't have a
base URL. This is fixed in CVS. As a workaround you should be able
to put an 'xml:base="http://foo.bar/baz.svg"' on the root element.
But I would recommend upgrading to CVS.
FMA> Btw, I truly appreciate the quick responses that I've been
FMA> getting. This is the second hurdle that i've come to this
FMA> listserve about, and your (the general public) responses (timely
FMA> and good) are again, much appreciated.
Glad to hear it. :)
---------------------------------------------------------------------
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]