[Bug 13393] New: i18n-ISSUE-73: Case sensitivity of lang

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

           Summary: i18n-ISSUE-73: Case sensitivity of lang
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML/XHTML Compatibility Authoring Guide (ed: Eliot
                    Graff)
        AssignedTo: eliotgra@microsoft.com
        ReportedBy: public-i18n-core@w3.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org, eliotgra@microsoft.com


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 us 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 only be relevant to xml:lang. Unless we're 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). 

We would like you to remove lang from the list.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Wednesday, 27 July 2011 17:54:52 UTC