cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alten, Jelle Paul (sds-sp)" <jelle.paul.al...@ordina.nl>
Subject RE: [HELP]No pipeline matched request:double asterisk does not wo rk ?
Date Wed, 29 Oct 2003 10:41:28 GMT
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: Wouter.DERUYCK@cec.eu.int [mailto:Wouter.DERUYCK@cec.eu.int]
Verzonden: woensdag 29 oktober 2003 11:10
Aan: users@cocoon.apache.org
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: 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