Hi!

I have an issue that I think is due to FOP caching images. The situation is this:

* FOP is embedded in our software. I create a single FopFactory and create a new FOP instance via it for each render. * I render a pdf with fo that references some svg image files. It comes out fine.
* Some of the svg image files are updated on the hard drive.
* I render a pdf again (w/ the same name, new FOP instance though, but created via the same fop factory instance). The image that has been changed on disk appears as it was before it was updated.

Environment: fop 0.95b, win xp sp 2, java 1.5.0_15

It seems that the cause is this bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=8003

However, the workaround described in the bug report is not valid anymore since the way images are loaded has changed since (i.e. there is no class called FopImageFactory).

So, my question really is: what class do I need to hack to get the cache disabled? Or is this issue within FOP at all anymore, i.e. is this nowadays an issue w/ the image loading framework? Is that in xmlgraphics-commons? Or is there a way to tell fop not to use image cache, e.g. via FOUserAgent instance?



     -::Antti::-


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

Reply via email to