Hi

My problem is:
I can't load local image in an svg file with (for example) Batik-Squiggle 1.5.1. (or my app using batik).
I can load the same svg properly with Adobe SVG Viewer.
No error's thrown by Squiggle. Instead of the jpg image, there's a "broken batik logo".
Loading image in the svg from the web works with Squiggle too. (xlink:href="http://......";)
I had an idea that's a java security problem, but i can load local images otherwise. What security problem is it?


the example svg:

<?xml version="1.0" encoding="UTF-8"?>
<svg contentScriptType="text/ecmascript"
    width="2500"
   xmlns:xlink="http://www.w3.org/1999/xlink";
   zoomAndPan="magnify" contentStyleType="text/css"
   height="2500"
   preserveAspectRatio="xMidYMid meet"
   xmlns="http://www.w3.org/2000/svg";
   version="1.0">
<g id="imageroot">
   <image x="0" y="0"
       width="100"
   xmlns:xlink="http://www.w3.org/1999/xlink";
   xlink:href="C:/e.jpg"
       height="100"/>
</g>
</svg>

(c:/e.jpg is valid, and i also tried file://c:/e.jpg)

Thanks for any suggestions/solutions, or what/why it is happening.
bye, Marci


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



Reply via email to