Vadim Gritsenko wrote:
Nicola Ken Barozzi wrote:
In fact IIUC, in SitemapSource I see:
/**
*
* @see org.apache.excalibur.source.Source#exists()
*/
public boolean exists() {
return true;
}
The problem is that the only way to actually test whether sitemap source
exist or not is to try and generate this sitemap resource - which might
be expensive operation.
Hmmm, it seems strange to me to return "true" instead of
doing an expensive operation. Is there any special reason
for that? Or was there an agreement that SitemapSource.exists()
is not well-defined?
-- Andreas