W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: [Bug 5974] New: Language tag sameness should probably be ASCII case-insensitive

From: Toby A Inkster <tai@g5n.co.uk>
Date: Tue, 19 Aug 2008 08:54:18 +0100
Message-Id: <8DCC1293-E9CA-4E7B-ADEA-DADE19EC704C@g5n.co.uk>
To: public-html@w3.org

Although something like this is clearly a mistake and should not be  

<span lang="fr" xml:lang="de">

Isn't the following a little more of a grey area?

<span lang="fr-FR" xml:lang="fr">

Might an improved criterion for conformance be: if @lang and  
@xml:lang are both present, they must be equal, or one must be a  
substring of the other, matching the head of the longer string. (All  
case insensitive.) When the attributes conform to the previous  
condition, the longer attribute value is taken to be the language of  
the element.

Toby A Inkster
Received on Tuesday, 19 August 2008 07:55:26 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:37 UTC