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

Re: Validator has become case-sensitive to the MEAT tag param CHARSET [ surely META, no? :) ]

From: Rui del-Negro <w3validator@dvd-hq.info>
Date: Thu, 20 Sep 2007 17:32:46 +0100
To: "Rick Bogart" <rick@sun.stanford.edu>
Cc: www-validator@w3.org
Message-ID: <op.tyyn8wnojf0k3w@bigbang>

> I have seen several messages go through on this topic, and it appears
> that the "CHARSET=" tag is not supposed to be case-sensitive. It is
> particularly odd because I can change the case of the other tag values
> and everything is fine:
> validates with no problem; only the term "charset" is case-sensitive!
> Is this going to be fixed, or do I have to change all my META tags to
> get their pages to validate? Thanks,

"charset" isn't a tag. The "tag" there is <meta>. "text/html;  
charset=iso-8859-1" is all part of the *value* of the attribute "content".  
In other words, there is no reason why it should behave the same way or be  
subject to the same rules as the tags (or attribute names).

As a general rule, if something isn't explicitly defined as being  
case-insensitive, one should assume it is case-sensitive.

Having said that, I believe section 3.7 of RFC2616 states that "parameter  
attribute names are case-insensitive". And, according to that same section  
of that same RFC, that's exactly what "charset" is, in that context: the  
name of a parameter attribute.


Am I missing something?

Received on Thursday, 20 September 2007 16:33:44 UTC

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