W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > March 2011

[Bug 10152] [polyglot] i18n comment 5 : Mention lang and xml:lang

From: <bugzilla@jessica.w3.org>
Date: Sat, 19 Mar 2011 14:29:20 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1Q0x9c-0006fC-BW@jessica.w3.org>

--- Comment #22 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-03-19 14:29:19 UTC ---
(In reply to comment #21)
> (In reply to comment #20)

The HTMLwg just decided that http-equiv="Content-Language" should be illegal.


As a result, here is an updated proposal (I only added this string: "(which is
non-conforming HTML5)":

    Polyglot markup avoids that the language of the root element is set by
HTML5's fallback language mechanism as this mechanism is not required to work
in XML.

    [NOTE:] HTML5's fallback language mechanism activates whenever the root
element is lacking language attributes. But for the mechanism to actually set a
fallback language, it has to locate an http-equiv="Content-Language" meta
element (which is non-conforming HTML5) or a HTTP Content-Language: header 
(anyone of them, but meta element is considered first) whose content value is
no more and no less than exactly a one language tag, see the <a
href="http://www.w3.org/TR/html5/elements#language">language determination
rules</a> of [HTML5].

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 19 March 2011 14:29:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:44 UTC