W3C home > Mailing lists > Public > public-webapi@w3.org > March 2006

Re: ISSUE-46: DOM3EV: createEvent case-(in)sensitive?

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 24 Mar 2006 03:49:51 +0100
To: Web APIs WG <public-webapi@w3.org>
Message-ID: <3hn6221h597s4p3qbt09m8sojq6rhm8sli@hive.bjoern.hoehrmann.de>

* Web APIs Issue Tracker wrote:
>We don't say whether createEvent performs case-(in)sensitive comparison
>with its argument. It should be case-sensitive but some implementations
>disagree. I can't remember seeing a script that uses other spelling than
>what we have in the document, and we don't disallow (or discuss in any
>other way) proprietary extensions relative to createEvent(...), so it's
>fairly save to specify that it's case-sensitive.
>If other disagree and want case-insensitive comparison, we need to de-
>fine the algorithm for that. In Unicode there are several ways to do
>that, assuming that we do not prohibit proprietary extensions that use
>non-ASCII characters. I guess we should use simple case folding then,
>but let's rather make it case-sensitive...

A probably yet more backwards-compatible way to do this would be to say
that the DOM Level 2 names are case-insensitive and the new DOM Level 3
names are case-sensitive.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 24 March 2006 02:56:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:20 UTC