Re: DOM L2 comments, various

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 UTC