cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: Check if sitemap will match.
Date Tue, 10 Jan 2006 14:10:39 GMT
Felix Röthenbacher wrote:
> Hi
>
> Is it possible to check programmatically if a request will be matched in
> a sitemap, e.g. "cocoon://test/test.html"? I tried to use the
> SourceResolver but resolving a URL for a non-existing pipeline
> returns a source and calling source.exists() returns true.

This is unfortunately a known bug. There's an exception raised if you 
try to access the source's inputstream though.

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://bluxte.net                     http://www.anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


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


Mime
View raw message