Stan Dickerson wrote:
userAgent = new SDUserAgent(); // my code (extends UserAgentAdapter
implements SVGUserAgent)
svgCanvas = new SVGCanvas(userAgent, true, false);
...ALWAYS_DYNAMIC...add listeners...
url = drawingNameToURL(name); // my code (name == "Index.svg")
svgCanvas.setURI(url.toString());
"AHU_Index.svg" is loaded from my UserAgent openLink(). Could there be
a problem with my UserAgent?
Your derivation is a bit odd. There are two distinct UserAgent
classes in batik the 'bridge' User Agent, and the SVGUserAgent. You
seem to claim to extend the bridge user agent and implement the
SVGUserAgent - I'm not sure what the real result of this would be
(although I honestly think the problem is in the JDK's networking
code, as remote a possibility as that seems, based on the stack
traces).
> I noticed that upon clicking on a link, ParsedURLData is being
> called once with "Index.svg" (the 1st drawing), again with
> "AHU_Index.svg" (the link's drawing) and again with "Index.svg." I
> added a printStackTrace() at the beginning of ParsedURLData and got
> the following:
This isn't too surprising since it uses the Index.svgz as the
'base' URL when resolving AHU_Index.svg.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]