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

* 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