xmlgraphics-fop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46048] Wrong images used (how to clear image cache?)
Date Thu, 23 Oct 2008 11:56:13 GMT

Jeremias Maerki <jeremias@apache.org> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #19 from Jeremias Maerki <jeremias@apache.org>  2008-10-23 04:56:12 PST
BTW, just to explain what happens with this patch:

If you have src="chart.svg" on your external-graphic and the base URI is
"file:/C:/reports/321cb123db23/", the image loader framework receives as URI:
"file:/C:/reports/321cb123db23/chart.svg". Before the patch it would only
receive "chart.svg".

Maybe it would actually be better to delay the "pre-resolution" as long as
possible, i.e. to do it inside the image loader framework (my first approach).
But it would still require a change for ExternalGraphic and all renderers
because the currently applicable base URI is passed along.

If someone wanted to go even further, support for "xml:base"
(http://www.w3.org/TR/xmlbase/) could be added to FOP to override the base URI
for certain elements. Should be too hard to implement.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message