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

Extending the DOM

From: Arnaud Le Hors <lehors@w3.org>
Date: Thu, 07 Oct 1999 16:24:23 +0200
Message-ID: <37FCAD17.D86BF642@w3.org>
To: www-dom@w3.org
Back to the original question whether the DOM spec should provide
implementors with a way to extend the DOM by adding new node types.

I'm actually sympathic with the desire to avoid possible collision with
future revisions of the DOM spec. However, I don't see a real need for
the spec to provide a standard way to do so. As I stated earlier, the
IDL uses an unsigned short, so if you're programing in Java, you can
safely use any negative value for your own node types and exception
codes. In other languages, I suggest you simply use the largest numbers
the actual type allows. _Practically_speaking_ I can't imagine W3C ever
defining enough node types and exception codes to reach those numbers.
Or there will be other reasons to be worried...
Received on Thursday, 7 October 1999 10:24:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:06 UTC