cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Upayavira" ...@upaya.co.uk>
Subject Error/status codes in webapp sitemap
Date Fri, 27 Jun 2003 10:40:25 GMT
Dear All,

The current webapp's sitemap doesn't report 404 for broken links. All it takes is 
adding <map:serialize status-code="404"/> in the <map:handle-errors> element.

Apart from anything else, this lack breaks the CLIs ability to detect broken links 
(as otherwise the error page is just returned as a standard page).

Is it reasonable enough to add error codes (404 and 500) to the <map:handle-
errors> block in the built webapp's sitemap? Seems kinda obvious thing to do to 
me.

Regards, Upayavira



Mime
View raw message