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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]