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

Re: meta content-language

From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Thu, 28 Aug 2008 04:43:32 +0200
To: www-international@w3.org
Message-ID: <g95387$g00$1@ger.gmane.org>

Mark Davis wrote:

> I'm kinda lost in this thread so far.

Same here.  But I like your quiz:
 
> (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

Right, 4 plus 1 yields 5 :-)

> lang5 wins over lang4 over lang3 over lang2 over lang1.

Maybe lang5 wins.  But it is odd, if that is XHTML 1 I'd
miss an xml:lang, and if it is HTML then xml:lang lang3
is an undefined attribute.  

Likely HTML5 defines an error handling, but a validator
could say "you lose", not "lang5 wins".

And lang2 and lang1 are two conflicting Content-Language
header fields.  I'd opt for "never trust the server",
and like you I'd pick lang2 over lang1.
  
> Note that it can be zero ("")

Yes, that is better in HTML5.

 Frank
Received on Thursday, 28 August 2008 02:42:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:18 GMT