cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
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 Wallez                        Anyware Technologies           
Apache Software Foundation Member     Research & Technology Director

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

View raw message