W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] [wf2] case-insensitive is not defined in terms of Unicode

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 22 Jul 2005 11:27:31 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0507221125290.17309@dhalsim.dreamhost.com>
On Fri, 22 Jul 2005, fantasai wrote:
>
> Anne van Kesteren wrote:
> > From:
> >  <http://whatwg.org/specs/web-forms/current-work/#methodAndEnctypes>
> > # The value of the enctype attribute must be dispatched using a
> > # case-insensitive literal comparison.
> > 
> > What exactly does this mean, in terms of Unicode?
> 
> The syntax for content types allows US-ASCII only, so Unicode case 
> mapping [1], which defines case-insensitive matching for Unicode 
> strings, is irrelevant.

You're assuming that all enctype attributes are conformant. There is no 
reason to assume that.

Also, case-insensitive has to be defined either way, we might as well use 
a generic definition that works for everything (even if for some 
attributes it can be implemented in a more optimised fashion).


> [1] http://www.unicode.org/reports/tr21/

TR #21 is obsolete in Unicode 4.x.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 22 July 2005 04:27:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC