cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Newland" <>
Subject C2: can't match images in sitemap
Date Wed, 22 Aug 2001 14:10:07 GMT
Hi All,

I'm trying to add a map:match to my sitemap to fetch images but they are not
fetched (my fault, Cocoon2 is working great)

Location of my files:


sitemap entries:

<map:match pattern="pages/*">
	<map:generate type="serverpages" src="docs/samples/pages/{1}.xsp"/>
	<map:transform src="stylesheets/my_xsl"/>

(loads + processes XSP page fine)

<map:match pattern="images/**.jpg">
	<map:read src="docs/samples/images/{1}.jpg" mime-type="image/jpg"/>

(does not return the image)

The returned HTML contains:

<img src="images/my_image.jpg">

As far as I can see, this is the same way that the cocoon.gif image is
fetched from samples.xml but I can't see what I'm doing wrong.

Any help would be appreciated.



Chris Newland
Software Research Engineer

Emorphia Ltd
Registered in England.  4133002
Mill House, Station Approach, Harlow Mill, Harlow, Essex, CM20 2EL, UK

Tel: +44 (0)1279 450100
Fax: +44 (0)1279 450102

Check out FIPA-OS at

This message may contain information proprietary to Emorphia so any
unauthorised disclosure, copying or distribution of its contents is strictly

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message