[Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5


--- Comment #4 from I18n Core WG <public-i18n-core@w3.org> 2012-03-02 05:00:08 UTC ---
I'm aware that you can use lang in all the formats served to the browser as
html, and if that would solve the problem I wouldn't raise this issue. But
polyglot is not just about serving to browsers.

The issue is that you need xml:lang if your document is to be treated as *XML*
- which is the point of using Polyglot documents. For example, XSLT picks up on
xml:lang for its lang() function, but  not on the lang attribute, which has no
more meaning to an XML processor than a 'language' attribute, or a 'foobar'

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug.

Received on Friday, 2 March 2012 05:00:12 UTC