W3C home > Mailing lists > Public > www-international@w3.org > July to September 2008

Re: meta content-language

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 22 Aug 2008 15:10:58 +0100
To: "Mark Davis" <mark.davis@icu-project.org>, "Julian Reschke" <julian.reschke@gmx.de>
Cc: "Leif Halvard Silli" <lhs@malform.no>, "Ian Hickson" <ian@hixie.ch>, "HTML WG" <public-html@w3.org>, "www-international@w3.org" <www-international@w3.org>
Message-ID: <op.ugakckwl64w2qv@annevk-t60.oslo.opera.com>

On Fri, 22 Aug 2008 15:04:26 +0100, Mark Davis  
<mark.davis@icu-project.org> wrote:
> 2. Language Inheritance. If there are conflicting languages, what should
> win? (or in other words, what's the inheritance?)
> (HTTP) Content-Language: lang1
> <meta http-equiv="Content-Language" content="lang2"/>
> <html lang="lang4" xml:lang="lang3">
> <p lang="lang5">
> My take is that HTML5 has it right, that the winner/inheritance should  
> be in
> the above order: lang5 wins over lang4 over lang3 over lang2 over lang1.

FWIW, this is largely right (interpretation of HTML5), but lang3 would be  
ignored if it was "xml:lang" not in a namespace and would take precedence  
over lang4 if it was "lang" in the XML namespace. (This is indeed slightly  

Anne van Kesteren
Received on Friday, 22 August 2008 14:12:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:40:56 UTC