ISSUE-138: Make lang and xml:lang synonyms in HTML5
Make lang and xml:lang synonyms in HTML5
- State:
- CLOSED
- Product:
- html
- Raised by:
- Richard Ishida
- Opened on:
- 2011-07-27
- Description:
- Follow in bugzilla: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16166
I imagine this will get shot down, but I've been thinking I should suggest it for some time.
It's a pain in the neck to have to write both lang and xml:lang attributes on an element in a polyglot document, and I've seen plenty of pages in the wild from people who should know better where either the lang attribute is missing in XHTML 1.x but the xml:lang attribute is there, as well as vice versa.
Can we not just make xml:lang a synonym of the lang attribute (in the right conditions)?
I think the spec would need to describe what to do if both are used, to deal with legacy, but only small changes would be required to the wording to say that if an attribute in no namespace with no prefix and with the literal localname "xml:lang" appears alone, then its should be treated as equivalent to a lang attribute, and that of course you should use the lang attribute unless this is a polyglot or XML document. - Related Actions Items:
- No related actions
- Related emails:
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2015-06-26)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2015-06-26)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2015-06-17)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2015-06-17)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2015-06-16)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2015-06-16)
- RE: [I18N-ACTION-150] Review of HTML open issues (from addison@lab126.com on 2014-02-22)
- Re: [I18N-ACTION-150] Review of HTML open issues (from ishida@w3.org on 2014-02-21)
- [I18N-ACTION-150] Review of HTML open issues (from addison@lab126.com on 2014-02-18)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2013-01-21)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2013-01-21)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2013-01-21)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2013-01-21)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-10-16)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-10-16)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-10-16)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-10-16)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-10-16)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-10-15)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-10-02)
- [Bug 17919] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-09-28)
- [Bug 17919] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-07-23)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-07-18)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-25)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-23)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-03)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-02)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-02)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-01)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-01)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-01)
- [Bug 16166] i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-03-01)
- [Bug 16166] New: i18n-ISSUE-138: Make lang and xml:lang synonyms in HTML5 (from bugzilla@jessica.w3.org on 2012-02-29)
- [minutes] i18n telecon, 2012-02-29 (from ishida@w3.org on 2012-02-29)
- I18N-ISSUE-138: Make lang and xml:lang synonyms in HTML5 [HTML5-prep] (from sysbot+tracker@w3.org on 2011-07-27)
Related notes:
No additional notes.
Display change log