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: Henri Sivonen <hsivonen@iki.fi>
Date: Tue, 19 Aug 2008 11:13:20 +0300
Cc: public-html@w3.org
Message-Id: <18F07EA0-436D-4101-84F2-075E23E79898@iki.fi>
To: Toby A Inkster <tai@g5n.co.uk>

On Aug 19, 2008, at 10:54, Toby A Inkster wrote:

> 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.

I think the spec shouldn't get that kind of complexity.

The point of the conformance requirement is to allow exactly  
equivalent talismans. The purpose isn't to support elaborate DWIM.

Henri Sivonen
Received on Tuesday, 19 August 2008 08:14:03 UTC

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