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

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

--- Comment #18 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> 2011-03-09 20:42:16 UTC ---
(In reply to comment #17)

> QUESTION 1: Are XML processors, such as XSLT, required to react to HTTP
> Content-Language (coming from the web server), at all? 
> 
> I'll answer myself: they are not! This is pretty obvious because
> Content-Language is not meant to affect the language of the document .... 

Though XML 1.0 does say:

]] Language information may also be provided by external transport protocols
(e.g. HTTP or MIME). When available, this information may be used by XML
applications, but the more local information provided by xml:lang should be
considered to override it.[[

Is it not likely that XML 1.0 speaks about Content-Language ?

The only difference seems to be that HTML5 _requires_ user agents to use the
external information, whereas XML 1.0 only says that applications "might" do
so. 

The net effect, though, is that XML and HTML are not guaranteed treat
Content-Language the same way.

-- 
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 20:42:18 UTC