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">
        <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]>

Reply via email to