cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@sofico.be (Gunter D'Hondt)
Subject Re: [HELP]No pipeline matched request:double asterisk does not work ?
Date Wed, 29 Oct 2003 11:06:06 GMT

I don't see any use of your first matcher demo/*
Cocoon automatically uses the correct sitemap

The second matcher should be test/*/*.xml
and your generator src becomes {1}/{2}.xml or wherever your input is located

Gunter D'Hondt.



> Hello
> 
> Using the double asterisk in a sub sitemap doesn't seem to work:
> 
> example:
> 
> root sitemap define sub sitemap 'demo'
> 
> <map:match pattern="demo/*">
> 	<map:mount uri-prefix="demo" check-reload="yes"
> src="demo/sitemap.xmap"/>
> </map:match>
> 
> in sitemap demo define following pipeline:
> 
> <map:match pattern="test/**.xml">
> 	<map:generate src="{1}.xml"/>
> 	<map:serialize type="xhtml"/>
> </map:match>
> 
> 
> If I now try to resolve the url
> http://localhost:8888/demo/test/xmldir/test.xml   I get a no pipeline
> matched request error.
> 
> 
> However define the above pipe in the root sitemap and then resolving the URL
> http://localhost:8888/test/xmldir/test.xml  does work !!
> 
> Is this a bug ?  Can I not use the double asteriks pattern in my sub sitemap
> ?
> 
> Any help is welcome.
> 
> I'm using cocoon 2.1 / Jetty4.2.9
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 



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


Mime
View raw message