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 20:42:16 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PxQD2-00075m-Tv@jessica.w3.org>

--- 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

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

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