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

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10152

--- Comment #19 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-03-10 00:41:57 UTC ---
(In reply to comment #16)

> I think it may be better to have a note that says something like:
> 
> "If you do not use language attributes on the html element, you should not have
> a <meta type=content-language content=*> element 
   <ins> 
                 or a HTTP Content-Language: header
    </ins>
>   with a single language value
> for the content attribute. This is because HTML5 interprets this as setting the
> default language for the root element, but XML does not."
> 
> or 
> 
> "If you have a <meta type=content-language content=*> element 
   <ins> 
                 or a HTTP Content-Language: header
    </ins>
>  with a single
> language value for the content attribute, you must use language attributes on
> the html element. Otherwise HTML5 interprets this as setting the default
> language for the root element, but XML does not."

Those are fine, both of them. Except that they forget to mention the
possibility of a HTTP Content-Language: header from the server. If that were
added, then I could accept it.  I pasted in what I mean above.

Meanhile, I have filed Bug 12278 'Make lang and xml:lang required on the root
element'.

-- 
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 Thursday, 10 March 2011 00:42:03 UTC