W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2009

Re: Changes to DOM3 Events Key Identifiers

From: Laurens Holst <laurens.nospam@grauw.nl>
Date: Fri, 30 Oct 2009 12:02:36 +0100
Message-ID: <4AEAC7CC.8090803@grauw.nl>
To: Maciej Stachowiak <mjs@apple.com>
CC: Alex Danilo <alex@abbra.com>, Doug Schepers <schepers@w3.org>, www-dom@w3.org
Op 30-10-2009 10:32, Maciej Stachowiak schreef:
> "\uxxxx" is not a syntax, it is a Unicode string of the actual 
> character. \u introduces the escape sequence for a unicode code point. 
> So you can compare it directly to a character.

Now I’m confused. The way Doug phrased it, \uxxxx *will* be syntax, i.e. 
the string "U+xxxx" will be replaced by "\\uxxxx" (a 6-character string 
containing an identifier). Not "\uxxxx" (a 1-character string containing 
the actual character) which could be compared directly to a character.

Otherwise, I would suggest not to talk in terms of "\uxxxx" strings at 
all, after all the DOM specification does not need to concern itself 
with serialisation, but instead to just talk about characters and code 
points.

~Laurens

-- 
~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, developer, Utrecht, the Netherlands
Website: www.grauw.nl. Backbase employee; www.backbase.com




Received on Friday, 30 October 2009 11:03:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:14:04 GMT