Wouter,
You have to use the double asterisk in the root sitemap as well, otherwise
it will never get to the subsitemap.
for example, in the root sitemap:
pattern="demo/*"
won't match demo/test/xmldir/test.xml, but will match demo/test.xml
So it will never get to the mount, and never enter your subsitemap.
Greetz
Jelle
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: woensdag 29 oktober 2003 11:10
Aan: [EMAIL PROTECTED]
Onderwerp: [HELP]No pipeline matched request:double asterisk does not
work ?
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]