If you´re using (at least) 0.20.5 you can call:





Lars Bjerges

Team Verktyg

* FöreningsSparbanken IT

105 34 Stockholm

( +46 (0)8 58 59 43 45

( +46 (0)70 95 27 774

-----Ursprungligt meddelande-----
Från: Amita Rathore [mailto:arathore@in.ibm.com]
Skickat: den 10 maj 2005 06:16
Till: fop-users@xmlgraphics.apache.org
Ämne: How to prevent SVG Image from caching


I am using data scheme to insert an image. like this :

   <svg:svg xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="542px" height="506px">
   <svg:image width="64" height="48" xlink:href="SRC="data:image/gif;base64,1QMMA..." />

The image gets cached and the same image is displayed even after I  change the value for xlink:href.

I am resetting the cache also using :org.apache.fop.image.FopImageFactory.resetCache();
What should be done to avoid cachig of images. Thanks.