How to use relative URLs while loading SVG documents into batik?
Documents start loading, and then I'm getting an error if there any url references in a document (even if they are to the same document):
"org.apache.batik.bridge.BridgeException: file:res/test.svg:-1 An I/O error occured while processing the URI: "file:res/test.svg#gradient1" specified on the element <path>
at org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown Source) ..."
If URLs have to be absolute I would like to know how to convert "file:res/test.svg" -> "file:c:/application/res/test.svg" in cross-platform compatible way?
Thanks in advance.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
