Hi Tamás,
Gorzsás Tamás <[EMAIL PROTECTED]> wrote on 01/05/2006 07:01:10 AM:
> I’m dealing with maps which are available in SVG format.
> I have to put icons onto the map in runtime. The icons are available in
> separated SVG files.
[...]
> Element trainImage = canvas.getSVGDocument().
> createElementNS(SVGDOMImplementation.SVG_NAMESPACE_URI,
SVGConstants.SVG_USE_TAG);
> trainImage.setAttributeNS(XMLConstants.XLINK_NAMESPACE_URI,
"xlink:href",
> "#train-1-purple");
> Is it a bug in Batik or do I something wrong?
I would suspect that you have either not informed the
Canvas that the document will be dynamic (search for ALWAYS_DYNAMIC),
or you are not making your changes in the UpdateManager Thread.