cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Slashes in the URL match
Date Thu, 05 May 2005 13:10:44 GMT
Martynas Jusevicius wrote:
> Hi,
> 
> 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:
> host.com/context/something/*
> is different from
> host.com/context/something//*
> 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:
> http://www.xmldatabases.org/WK/blog/1031_How_do_you_manage_documents_in_the_database%3F.item
> So what should I do? Thanks in advance.

If the WildcardMatcher isn't good enough for your needs you can implement your 
own matcher.

-- 
Reinhard Pötz           Independent Consultant, Trainer & (IT)-Coach 

{Software Engineering, Open Source, Web Applications, Apache Cocoon}

                                        web(log): http://www.poetz.cc
--------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message