https://issues.apache.org/bugzilla/show_bug.cgi?id=46048


Jeremias Maerki <[EMAIL PROTECTED]> changed:

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




--- Comment #19 from Jeremias Maerki <[EMAIL PROTECTED]>  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.

Reply via email to