W3C home > Mailing lists > Public > www-dom@w3.org > July to September 1999

Re: DOM L2 comments, various

From: Stephen R. Savitzky <steve@rsv.ricoh.com>
Date: 28 Sep 1999 13:27:11 -0700
To: www-dom@w3.org
Message-ID: <qcu2oeu6hs.fsf@congo.crc.ricoh.com>
keshlam@us.ibm.com writes:

> I do like the idea of explicitly saying that all ErrorCode values -- or at
> least some sizable portion of that space -- are reserved to W3C. I've
> already seen someone start trying to define his own values just above the
> official Level 1 set, and had to warn him that his code was likely to
> break in future releases of the DOM.

The same kind of thing goes for node types -- I've had to define several.
My approach is to reserve positive values for the DOM, and use negative
values for the implementation, reasoning that the spec was unlikely to
expand in that direction.  

The spec really ought to make that distinction explicit.  There has to be
_some_ way to add implementation-specific extensions, and splitting between
-1 and 0 gives the maximum amount of space to both.

-- 
Stephen R. Savitzky  <steve@rsv.ricoh.com>  <http://rsv.ricoh.com/~steve/>
Quote of the month:  Death is nature's way of telling you to slow down.
Chief Software Scientist, Ricoh Silicon Valley, Inc. Calif. Research Center
 voice: 650.496.5710  front desk: 650.496.5700  fax: 650.854.8740 
  home: <steve@theStarport.org> URL: http://theStarport.org/people/steve/
Received on Tuesday, 28 September 1999 16:27:44 GMT

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