W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2008

Re: [whatwg] WebIDL and HTML5

From: Cameron McCormack <cam@mcc.id.au>
Date: Thu, 28 Aug 2008 08:39:53 +1000
To: Web Applications Working Group WG <public-webapps@w3.org>
Message-ID: <20080827223953.GA25456@arc.mcc.id.au>

Garrett Smith:
> I disagree. That the DOM spec does not include null. It is very
> verbose on what it does include, so it's not by accident.

The fact that a boxed valuetype (in OMG IDL) was used to define the
DOMString type leads me to believe that null was explicitly wanted as a
member of that type.  That’s different from dom Level 1 Core, where it
was just a typedef:

  http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-C74D1578

Since there are some languages that include null in their string type
and others that don’t, and with DOM meant to be language agnostic, it
probably made more sense to define the DOM string type as including
null than not.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Wednesday, 27 August 2008 22:40:43 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:27 GMT