W3C home > Mailing lists > Public > public-i18n-core@w3.org > January to 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:25 +0000
To: public-i18n-core@w3.org
Message-Id: <E1PxKdh-0004ep-LA@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10152

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 on the CC list for the bug.
Received on Wednesday, 9 March 2011 14:45:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 March 2011 14:45:32 GMT