Hi Michael,

"Bishop, Michael W. CONTR J9C880" <[EMAIL PROTECTED]> wrote on 
10/12/2006 05:07:13 PM:

> An image element is placed and the xlink:href points to a non-existant 
file. 
> The standard ?broken image? image appears on the JSVGCanvas instead, per 

> Batik.  Next, the correct file appears in the correct place.  How do I 
tell 
> Batik to try and resolve that again?  JSVGCanvas.setDocument(?) doesn?t 
seem 
> to have an effect, the image still appears broken.

   You need to clear the entry in the URLCache:
 
org.apache.batik.ext.awt.image.URLImageCache.getDefaultCache().clear(ParsedURL 
purl);

   Then removing the image Element form it's parent and reinserting
should cause it to reload the image.


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

Reply via email to