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

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
hsivonen@iki.fi
http://hsivonen.iki.fi/

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