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

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 the QA contact for the bug.

Received on Wednesday, 9 March 2011 14:45:29 UTC