W3C home > Mailing lists > Public > www-validator@w3.org > February 2007

Validating POST results

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Thu, 15 Feb 2007 14:09:14 -0500
Message-ID: <45D4AFDA.7010101@metalab.unc.edu>
To: www-validator Community <www-validator@w3.org>

Now that I've got LogValidator running I've noticed some false 
positives. First of all it triggers on my Atom feeds, which are some of 
the most frequently accessed pages on my site. I'm not sure if that's 
easily fixable or not.

This next one shoudl be however. The 7th most frequently accessed 
"invalid" page is:

http://www.elharo.com/blog/wp-comments-post.php

This is a comments script and is only accessed via POST. GETting it, as 
the validator does, returns a blank page. Should the validator simply 
skip any file in the log that is accessed only via POST?

Or perhaps this script should be returning an HTTP 405 Method Not 
Allowed error instead and that's the bug the validator is complaining about?

-- 
´╗┐Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
Received on Thursday, 15 February 2007 19:08:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:23 GMT