Hi,

Up until now, i always created my documents dynamically using factory.createSVGDocument("jar:file:///foo.jar!/bar.svg", inputstream) , so basically using a non existing but valid URI and an inputstream.

I'm running into problems now when referencing def elements eg
<use x="10" xlink:href="#logo" y="10"/>

Now i can sort of guess why this is happening, the renderer tries to resolve the URL relative to the document URI (which is foobar).
What would be a sensible URI to put into the createSVGDocument() then? Is this URI resolved at load time? Or does it not matter what I put in, as long as the xlink:href use the same prefix?


Thanks
Jorg


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



Reply via email to