cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: SVG serializer problem
Date Sun, 10 Oct 2004 15:04:45 GMT
Anna Afonchenko wrote:
> Hi all.
> I have a problem with a wildcard matcher that has an svgxml serializer.
> Pipeline:
> <map:match pattern="testSVG/**" type="wildcard">
>   <map:generate src="svg/svg.svg"/>
>   <map:serialize type="svgxml"/>
> </map:match>
> 
> For URL http://localhost:8080/cocoon/renderings/testSVG/www.ubaccess.com
> the pipeline works fine and the static svg is shown.
> But for URL 
> http://localhost:8080/cocoon/renderings/testSVG/www.ubaccess.com/test.htm
> I get an empty page, whose source content is <p>&nbsp;</p>!
> 
> If I change the serializer to xml, then the correct xml is presented for 
> both URLs above.
> 
> So I would guess the problem is with the SVG serializer?

To me it sounds rather like a browser issue.
Which one are you using? Maybe it gets confused
by the .htm suffix and assumes text/html as
mime-type or something like that.

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message