W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

Re: Proposal for java-language-binding: use of collections framework

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Mon, 25 Feb 2002 13:00:10 -0500
To: Stefan Wachter <Stefan.Wachter@gmx.de>
Cc: www-dom@w3.org
Message-ID: <OF5684764A.CED6BF72-ON85256B6B.006294A9@pok.ibm.com>

Won't happen. Part of the point of the DOM is portability; changing basic
APIs at this late date would break that. Also, you're neglecting the fact
that DOM NodeLists and NamedNodeMaps have some behaviors which differ from
those of the Java collections -- liveness and namespace sensitivity are the
most obvious ones.

You can certainly use the Java collections framework  _inside_ an
implementation of the DOM. But the whole point of an API is that it defines
very specific names and behaviors. If you change those, you have not
implemented the same API.

Joe Kesselman  / IBM Research
Received on Monday, 25 February 2002 13:00:44 UTC

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