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: Wed, 09 Mar 2011 14:45:26 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PxKdi-0004f2-0z@jessica.w3.org>

Richard Ishida <ishida@w3.org> changed:

           What    |Removed                     |Added
             Status|CLOSED                      |REOPENED
         Resolution|FIXED                       |

--- Comment #9 from Richard Ishida <ishida@w3.org> 2011-03-09 14:45:25 UTC ---
Hold on. As far as I'm aware XML processors have no way of detecting the
language of a document from a meta element.  The prescribed way according to
the XML spec is to use the xml:lang attribute, and this is what XML processors
such as XSLT expect to find for their functions. 

Since a polyglot document represents the subset of markup that works as both
HTML and XML, then this note should NOT be included.  Language should be set
using the xml:lang + lang attributes only to set language of the root element
for polyglot documents. Even if the current HTML spec doesn't change, the use
of meta for establishing the language of the root element is therefore moot.

Proposed action: remove the note.

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 Wednesday, 9 March 2011 14:45:29 UTC

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