> From: Frank Taffelt [mailto:[EMAIL PROTECTED]] > > Hello, > > suppose i have the follwing request: "/cocoon/css/style.css" cocoon logs the > following substitutions: > CONTEXT PATH: /cocoon > SERVLET PATH: /css/style.css > > for this request i have the following match in my sitemap: > > <map:match pattern="**/css/*.css">
This won't be matched because for this request URL passed to the matcher from the sitemap is 'css/style.css' - note that there is *no* leading '/' here. Vadim > <map:read mime-type="text/css" src="resources/css/{2}.css"/> > </map:match> > > it seems that this pattern never matches the given request, access.log says > : > org.apache.cocoon.ResourceNotFoundException: No pipeline matched request: > /css/style.css > > The cocoon documentation states about matching: " ... A string made of two > asterisks ('**') matches zero or more characters, this time including the > path separator (the character '/'). ..." . > > In my understanding this includes also the request "/css/styles.css" because > the zero match. > I'm using Cocoon Release 2.0.2 > > thanks, > frank --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>