Bug 24658 - fo:external-graphic does not support SVG when src is an url
Summary: fo:external-graphic does not support SVG when src is an url
Status: CLOSED FIXED
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: svg (show other bugs)
Version: 0.20.5
Hardware: All other
: P3 critical
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 20:15 UTC by Joachim Unger
Modified: 2012-04-01 07:02 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joachim Unger 2003-11-12 20:15:10 UTC
Hi!

I found a  problems when using urls instead of files for fo:external-graphic's 
src paramater.

<xsl:param name="imagebase">http://localhost:8080/img</xsl:param>
...
<fo:external-graphic height="15pt" width="180pt">
	<xsl:attribute name="src">url('<xsl:value-of 
select="$imagebase"/>/SomePics.svg')</xsl:attribute>
</fo:external-graphic>
OR
<fo:external-graphic height="15pt" width="180pt">
	<xsl:attribute name="src"><xsl:value-of 
select="$imagebase"/>/SomePics.svg</xsl:attribute>
</fo:external-graphic>

does not work for IIS at all. 
It works in 95% of all cases with APACHE.
It worka in 100% of all cases with files.
I get no exception(s) and - no pictures.
Any ideas?

FOP is 0.20.5 distribution.

Regards,

Joachim
Comment 1 Pascal Sancho 2007-11-20 00:51:33 UTC
Works fine in FOP 0.94 and probably earlier versions
Comment 2 Glenn Adams 2012-04-01 07:02:23 UTC
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed