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

[Bug 12278] [polyglot] i18n: Make lang and xml:lang required on the root element.

From: <bugzilla@jessica.w3.org>
Date: Mon, 14 Mar 2011 21:08:05 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PzEzl-0004gV-VP@jessica.w3.org>

Eliot Graff <eliotgra@microsoft.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Eliot Graff <eliotgra@microsoft.com> 2011-03-14 21:08:03 UTC ---
I have adopted a combined approach, stating option 1 as a requirement, but also
adding a note that polyglot markup may always include both @xml:lang and @lang
(option 2) for the sake of simplicity and expediency. This is published in the
Editor's Draft of 14 March.

]] Content-Language

 The following HTTP headers and http-equiv declarations warrant special
discussion in polyglot markup. 

http-equiv: <meta http-equiv="Content-Language" content="ru"/>
HTTP header: Content-language: ru

 There are no direct issues with regard to the use of Content-Language as long
as the language attribute is declared on the root element, as described in
Language Attributes. Polyglot markup must declare both the xml:lang as well as
the lang attributes on the root element when there is a Content-Language
(http-equiv pragma or HTTP header) whose value is exactly a single language
tag. By declaring the language attribute on the root element, polyglot markup
avoids a difference between XML and HTML in regard to Content-Language. 

 For the sake of simplicity and expediency, content to be delivered as polyglot
markup may always include both the xml:lang as well as the lang attributes on
the root element. 

Thanks for the detailed suggestion.


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 Monday, 14 March 2011 21:08:10 UTC

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