Hi Joseph, Which version of cocoon are you using?
If you're using C2.2 you could for instance add a flow controller to capture the extension and translating it to lowercase or uppercase. I think the most important task is to standardize usage of extensions in your project (always store files e.g. using lowercase) and being tolerant in how to process user input. If you can first let me know what version you're using I'm sure we can find a solution. Robby -----Original Message----- From: Paul Joseph [mailto:[email protected]] Sent: Monday, January 30, 2012 4:09 PM To: [email protected] Subject: how to make sitemap entries case insensitive Hi there, The cocoon site map is case sensitive ( http://cocoon.apache.org/2.1/userdocs/parameter-selector.html). I have the need to upload various images...I have a sitemap (parts shown below). <map:match pattern="*.bmp"> <map:read mime-type="image/bmp" src="context://webtask/taskfiles/{0}"/> </map:match> However the customer tried to upload a file whose extension was in CAPS. as in myimage.BMP Any way to "compactly" address this instead of duplicating all the entries with their cap eqivalents? Paul --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
