ISSUE-73: Case sensitivity of lang

Case sensitivity of lang

State:
CLOSED
Product:
polyglot
Raised by:
Richard Ishida
Opened on:
2011-07-22
Description:
6.3.3 Attribute Values
http://www.w3.org/TR/html-polyglot/#attribute-values

"Polyglot markup maintains case consistency for values on the following attributes, which occur on MIME types, language tags, charsets, booleans, media queries, and keywords. Though not required, an easy way to maintain case-consistency is to use only lower case values for these attributes. Polyglot markup maintains case consistency for these values because, for the purpose of selector matching, attribute values in XML are all treated case sensitively; however, HTML treats the values of these attributes as case insensitive (See 4.14.1 Case-sensitivity, in the HTML5 specification). [HTML5] "

"... lang ..."

It seems to me that lang should not be in this list. XML processors don't recognise lang as containing language information - which is why you have to have xml:lang anyway (specified elsewhere in this spec). So any case sensitivity would be relevant to xml:lang. Unless I'm mistaken, the CSS3 Selectors spec says that language attributes, including xml:lang are matched in a case-insensitive way (http://www.w3.org/TR/css3-selectors/#lang-pseudo), so xml:lang shouldn't be in this list either (currently it's not).
Related Actions Items:
No related actions
Related emails:
  1. Review of tracker issues for best practices (part II) (from addison@lab126.com on 2015-03-28)
  2. [Bug 13393] i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2013-10-30)
  3. [Bug 13393] i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2013-10-30)
  4. [Bug 13393] i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2013-10-30)
  5. [Bug 13393] i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2013-10-30)
  6. [Bug 13393] i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2011-08-04)
  7. [Bug 13393] i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2011-08-04)
  8. [Bug 13393] i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2011-07-27)
  9. [Bug 13393] New: i18n-ISSUE-73: Case sensitivity of lang (from bugzilla@jessica.w3.org on 2011-07-27)
  10. [minutes] Internationalization WG telecon 2011-07-27 (from ishida@w3.org on 2011-07-27)
  11. I18N-ISSUE-73: Case sensitivity of lang [Polyglot-prep] (from sysbot+tracker@w3.org on 2011-07-22)

Related notes:

[aphillip]: accepted for Polyglot LC

27 Jul 2011, 15:41:56

Display change log ATOM feed


Addison Phillips <addison@amazon.com>, Chair, Richard Ishida <ishida@w3.org>, Fuqiao Xue <xfq@w3.org>, Atsushi Shimono <atsushi@w3.org>, Staff Contacts
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: index.php,v 1.326 2018/10/13 17:29:51 vivien Exp $