cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geert Josten <>
Subject Re: Slashes in the URL match
Date Mon, 09 May 2005 12:25:31 GMT
Easiest solution is likely to be: put the XPath expression in a request-parameter...

Donnu how this effects caching...


Martynas Jusevicius wrote:

> Hm, what exactly do you mean? Substitute // with /* and switch back
> later? But /* has it's own meaning and can also occur in the URL, how
> could I tell if it needs to be replaced or not?
> Of course, I could come up with some different substituotion, but
> these URLs come directly from links in HTML, and having some
> non-standard syntax variation is not a good option.
> I mean, can I force Cocoon to pass me the match "as is", leaving it
> unchanged even if there are several slashes in a row? That would solve
> everything. I don't really understand why it is functioning like that.
> On 5/5/05, oceatoon <> wrote:
>>Martynas Jusevicius wrote:
>>>I have <map:match pattern="**"> in my sitemap. Also, I'm trying get
>>>XPath URLs working. Therefore slashes in the URL matter much, for
>>>is different from
>>>Instead, Cocoon treats all repeated slashes as one, which obviously
>>>doesn't fit me.
>>>I was thinking, maybe that's some default URL or HTTP behavior, but
>>>looks like other similar implementation didn't have this problem:
>>>So what should I do? Thanks in advance.
>>>Martynas Jusevicius
>>Why not change syntax // by /* and reinterpret it just before your xpath
>>query or do replace .
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

NB: het Daidalos kantoor is sinds 22 april
jl. gevestigd op een nieuw adres:

Daidalos BV
Hoekeindsehof 1 - 4
2665 JZ Bleiswijk
tel: +31 (0)10 850 12 00
fax: +31 (0)10 850 11 99

Bovenstaand adres is tevens het postadres.
IT-consultant at Daidalos BV

GPG: 1024D/12DEBB50

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message