cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martynas Jusevicius <>
Subject Re: Slashes in the URL match
Date Thu, 05 May 2005 13:22:00 GMT
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
> > example:
> >*
> > 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 .
> Tibor

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

View raw message