- From: Jesse McCarthy <mccarthy36@earthlink.net>
- Date: Tue, 23 Oct 2001 09:44:29 -0400
- To: www-validator@w3.org
I'm trying to validate a page as XHTML 1.0 strict and I'm getting this error: <form id="frm_eForm" method="POST" action=""> ^ Error: value of attribute "method" cannot be "POST"; must be one of "get", "post" So I looked in the HTML 4.01 spec and section 17.3 ( http://www.w3. org/TR/html4/interact/forms.html#h-17.3 ) says: method = get|post [CI] This attribute specifies which HTTP method will be used to submit the form data set. Possible (case-insensitive) values are "get" (the default) and "post". See the section on form submission for usage information. It says the value of the method attribute of the FORM element is case- insensitive. Then I looked in the HTTP spec and section 5.1.1 says: 5.1.1 Method The Method token indicates the method to be performed on the resource identified by the Request-URI. The method is case-sensitive. It says the Method token is case-sensitive, and goes on to list the Methods in uppercase. So, by either definition, the validator is wrong, it is incorectly reporting an error. I hope this can be remedied soon.
Received on Tuesday, 23 October 2001 10:02:17 UTC