Re: [whatwg] Lowercase attribute values

2008-07-25 Thread Ian Hickson
On Mon, 29 Aug 2005, Henri Sivonen wrote:
 On Aug 28, 2005, at 09:56, Henri Sivonen wrote:
 
  How should the lowercasing be performed? Using the locale-insensitive 
  Unicode case data or for ASCII only treating non-ASCII as an error?
 
 On further reflection, it seems to me the latter has to be chosen at 
 least for a parser that is intended to be used as a part of a 
 conformance checker. Otherwise input type=RADİO ... would pass.

For the most part this is now defined spec-wide. Let me know if any 
individual cases haven't been addressed and I can fix them relatively 
quickkly, now that I have the right infrastructure in place for this.

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Lowercase attribute values

2008-04-28 Thread fantasai

Ian Hickson wrote:

On Mon, 29 Aug 2005, Henri Sivonen wrote:

On Aug 28, 2005, at 09:56, Henri Sivonen wrote:


How should the lowercasing be performed? Using the locale-insensitive
Unicode case data or for ASCII only treating non-ASCII as an error?
On further reflection, it seems to me the latter has to be chosen at 
least for a parser that is intended to be used as a part of a 
conformance checker. Otherwise input type=RADİO ... would pass.


Good point. Ok, ASCII-only it is.


Can't find this in the spec atm, maybe it's on your to-do list. You
need to define what case-insensitive means. For some background,
you can see the relevant discussions for CSS
  http://www.w3.org/blog/CSS/2007/12/12/case_sensitivity

~fantasai


Re: [whatwg] Lowercase attribute values

2007-06-05 Thread Ian Hickson
On Sun, 28 Aug 2005, Henri Sivonen wrote:

 In XHTML there are attributes whose value must be in lowercase, although 
 in HTML the value is case-insensitive. The most common example is the 
 method attribute of the form element. But should rev and rel be 
 lowercased?
 
 A piece of software that maps from the HTML flavor of HTML5 to the XHTML 
 flavor and needs to decide which attribute values to lowercase. How 
 should the decision be done? Based solely on the attribute name? (In 
 which case 'type' would be interesting.) Based on both the element name 
 and the attribute name? What is the recommended method for the author of 
 such a piece of software for extracting the list of special cases from 
 the spec?

There are no more differences between XHTML and HTML now as far as this 
goes, as far as I know. Please let me know if I missed one.


 How should the lowercasing be performed? Using the locale-insensitive 
 Unicode case data or for ASCII only treating non-ASCII as an error?

So long as you don't do it in the Turkish locale, it should be fine. I 
haven't really made the spec very clear on this yet, but there's a red box 
about it; it'll be dealt with in due course.

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


Re: [whatwg] Lowercase attribute values

2007-06-05 Thread Ian Hickson
On Mon, 29 Aug 2005, Henri Sivonen wrote:

 On Aug 28, 2005, at 09:56, Henri Sivonen wrote:
 
  How should the lowercasing be performed? Using the locale-insensitive
  Unicode case data or for ASCII only treating non-ASCII as an error?
 
 On further reflection, it seems to me the latter has to be chosen at 
 least for a parser that is intended to be used as a part of a 
 conformance checker. Otherwise input type=RADİO ... would pass.

Good point. Ok, ASCII-only it is.

-- 
Ian Hickson   U+1047E)\._.,--,'``.fL
http://ln.hixie.ch/   U+263A/,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

[whatwg] Lowercase attribute values

2005-08-28 Thread Henri Sivonen
In XHTML there are attributes whose value must be in lowercase, 
although in HTML the value is case-insensitive. The most common example 
is the method attribute of the form element. But should rev and rel be 
lowercased?


A piece of software that maps from the HTML flavor of HTML5 to the 
XHTML flavor and needs to decide which attribute values to lowercase. 
How should the decision be done? Based solely on the attribute name? 
(In which case 'type' would be interesting.) Based on both the element 
name and the attribute name? What is the recommended method for the 
author of such a piece of software for extracting the list of special 
cases from the spec?


How should the lowercasing be performed? Using the locale-insensitive 
Unicode case data or for ASCII only treating non-ASCII as an error?


--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/