xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claire SERRANO <serrano.cla...@gmail.com>
Subject Exception : "Unable to make sense of URL for connection"
Date Tue, 14 Apr 2009 12:32:49 GMT

Hello,
I work on a Java application based upon batik. It contains a JSVGCanvas
displaying the content of a SVGDocument. That document might be modified.
All modifications are performed in Batik's update manager thread. 

We try to draw an arrow (a path with an end marker), here is the
corresponding part of the SVG file : 

<defs>
...
<marker strokeWidth="strokeWidth" orient="auto" markerHeight="3"
id="TMTRIANGLE" viewBox="0 0 10 10" preserveAspectRatio="xMidYMid meet"
markerWidth="4" RefX="0" RefY="5">
<path d="M 0 0 L 10 5 L 0 10 z"/>
</marker>
<g id="TMLINE1" transform="translate(347.62036937627636,
375.9917173843783)">
<path fill="none" marker-end="url(#TMTRIANGLE)" d="M0,0
L47.90921757429453,23.768914145386418 L58.67950679642274,-10.770289222128213
" stroke-width="0.40" cursor="pointer" stroke="black"/>
</g>
...
</defs>

Everything's ok when we load the document in squiggle but not in our
application, we have this exception when we draw an arrow:
org.apache.batik.bridge.BridgeException: Unable to make sense of URL for
connection

Thanks for your help.

Regards.

Claire. 
-- 
View this message in context: http://www.nabble.com/Exception-%3A-%22Unable-to-make-sense-of-URL-for-connection%22-tp23038584p23038584.html
Sent from the Batik - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message