This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
hi all, i had wrote a 404 html page for let visitor know the page not found, it's locatated at http://www.spicy-wolf.org/~404, and actually it's a php script, i just use > header('HTTP/1.1 404 Not Found'); to let browser and spider knows this a 404 page, but when i tried to validate that page the validator said: >Sorry! This document can not be checked. > 1. Error > I got the following unexpected response when > trying to retrieve <http://www.spicy-wolf.org/~404>: > 404 Not Found so i have to let the script send a 200 OK header i know i also can use direct input or upload, and it may not a bug, but i still want to suggest let's directly validate 404 pages if possible, it's a real html page.
This feature already exists, click "More options", then tick the "Validate error pages" checkbox. Or for direct validation URLs, append ";No200=1", for example http://validator.w3.org/check?uri=http://www.spicy-wolf.org/~404;No200=1
oh, thanks, that's my mistake, i havn't noticed that option could you give a tip when display can't validate error page i just follow the web developer (a firefox extension) > Tools -> Validate HTML now i edit the tools link to enable that option, it works thanks again!
(In reply to comment #2) > could you give a tip when display can't validate error page Good idea, implemented for the next validator release; this is how it looks like in the current development version: http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Fwww.spicy-wolf.org%2F~404;No200=1
(In reply to comment #3) > this is how it looks like in the current development version: Oops, wrong link, it should have been: http://qa-dev.w3.org/wmvs/HEAD/check?uri=http%3A%2F%2Fwww.spicy-wolf.org%2F~404