You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2003/10/29 11:17:40 UTC
DO NOT REPLY [Bug 24212] New: -
using double asterisk matcher pattern in subsitemap does not work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24212>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24212
using double asterisk matcher pattern in subsitemap does not work
Summary: using double asterisk matcher pattern in subsitemap does
not work
Product: Cocoon 2
Version: 2.1
Platform: PC
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: wouter.deruyck@cec.eu.int
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 ?