- From: Eliot Graff <eliotgra@microsoft.com>
- Date: Fri, 8 Oct 2010 18:50:00 +0000
- To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>, Richard Ishida <ishida@w3.org>
- CC: "public-html@w3.org" <public-html@w3.org>, "public-i18n-core@w3.org" <public-i18n-core@w3.org>
The editor's draft of 8 October now has the following: Section 6.3, Case Sensitivity, starts like this: [] The following guidelines apply to any usage of element names, attribute names, or attribute values in markup, script, or CSS. Polyglot markup uses lower case letters for all ASCII letters. For non-ASCII letters--such as Greek, Cyrillic, or non-ASCII Latin letters--polyglot markup respects case sensitivity as it is called for. [] And 6.3.3, Attribute Values, has been changed it to this: [] Polyglot markup uses lowercase letters for the values of the attributes in the following list when they exist on HTML elements. More specifically, where required, polyglot markup must use lower case letters for all ASCII letters in these attribute values; however, polyglot markup respects case sensitivity for non-ASCII letters such as Greek, Cyrillic, or non-ASCII Latin letters. For attribute values on HTML elements other than those in the following list, polyglot markup may use mixed case letters. Because XML is case sensitive, polyglot markup also requires case to be consistent for values between markup, DOM APIs, and CSS. In addition, polyglot markup respects the case sensitivity of all other attribute values. Although polyglot markup must always have lowercase values of the attributes in the following list when they exist on HTML elements, attributes not in this list and attributes on non-HTML elements may have values made of mixed case letters. Note that other specifications, such as RDFa, may place additional restrictions on the allowed values of certain attributes. [] I believe that this clarifies the text and answers the concerns in this thread, and I have therefore resolved bug 10153. Thanks for your help and patience. Eliot > -----Original Message----- > From: Leif Halvard Silli [mailto:xn--mlform-iua@målform.no] > Sent: Thursday, July 15, 2010 1:40 PM > To: Richard Ishida > Cc: public-html@w3.org; Eliot Graff; public-i18n-core@w3.org > Subject: i18n Polyglot Markup/attr values (6th issue) > > Richard Ishida, Tue, 13 Jul 2010 20:40:24 +0100: > > > FWIW, the i18n group keeps track of comments on your doc at > > http://www.w3.org/International/reviews/1007-polyglot/ > > 6th issue: > ]] > 6.2.3 Attribute values Case requirements > " however, case requirements do not apply to non-ASCII > letters such as Greek, Cyrillic, or non-ASCII Latin letters. " > > We are confused by this text. Scripts such as Greek, Cyrillic, > and Armenian do have case distinctions, and those distinctions are significant > in XML if you have attribute names or values in those scripts. But we are not > clear when any characters from those scripts or non-ASCII Latin letters are > used for attribute names or values in HTML. > > Please clarify for us what the intent is. > > (There is similar text in 6.2.2) > [[ > > Comment: I think I may have had a word in what the spec says here. > The purpose is to express that while ASCII letters are generally treated case- > insensitively in HTML (in contrast to XHTML), the same is not the case for > non-ASCII letters. Thus XHTML and HTML agree that non-ASCII letters are > treated case _sensitively_. Whereas they disagree about ASCII letters - > XHTML treats them case sensitively, whereas HTML treats them as > insensitively. For programmers, it is perhaps obvious that there is a > difference between the ASCII case sensitivity of the non-ASCII case > sensitivity. But for more ordinary people, it is not logical that some letters are > treated case sensitively, while others are not. It is also generally common to > say about XML that it is case sensitive, in contrast to HTML. But fact is, that > HTML and XML only differ with regard to case sensitivity when it comes to > ASCII. > > For the record, HTML5, when it talks about the data-* attributes, says the > same thing: data-ASCII="" is treated case insensitively. Whereas data- > ÆØÅ="" is not treated case insensitively. > -- > leif halvard silli
Received on Friday, 8 October 2010 18:50:36 UTC