W3C home > Mailing lists > Public > www-validator@w3.org > April 2009

Re: name attribute in form tag does not error in HTML 4.01 Strict

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 10 Apr 2009 12:06:54 +0300
Message-ID: <7E59CB1BF1AC42B7BCB99B85D4E5248E@JukanPC>
To: <www-validator@w3.org>
Jens Brueckmann wrote:

> the validator is right,

In this issue it is: it analyzes the document according to the applicable 
Document Type Definition. This is all that matters in the issue of 
validation. Whether the DTD is stupid, violates prose requirements in a 
standard, or is just a bad joke does not matter.

> the name attribute has not been deprecated in
> HTML 4.01 Strict,

Deprecation as such is irrelevant in validation. "Deprecation" is a loose 
(informal) concept. Mostly the authors of HTML 4.01 specs decided to exclude 
from the Strict DTD features they designated as "deprecated". But that's 
irrelevant in validation; what matters is what they actionally excluded or 

> "name = cdata [CI]
> This attribute names the element so that it may be referred to from
> style sheets or scripts. Note. This attribute has been included for
> backwards compatibility. Applications should use the id attribute to
> identify elements."

This is an example of the vagueness of the HTML 4.01 spec. The statement 
deprecates the name attribute in this context, but it does not use the word 
"deprecate". According to the loose definition at
we can still call it deprecated. But they decided to include it in the 
Strict DTD, though.

Yucca, http://www.cs.tut.fi/~jkorpela/ 
Received on Friday, 10 April 2009 09:07:51 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:58 UTC