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

Re: Comments on DOM2 CR

From: <keshlam@us.ibm.com>
Date: Sat, 4 Mar 2000 15:18:48 -0500
To: steve@rsv.ricoh.com (Stephen R. Savitzky)
cc: www-dom@w3.org
Message-ID: <85256898.0070F8B9.00@D51MTA03.pok.ibm.com>
>Really?!!  That's disgusting -- it forces the use of a cast.

Same solution as in factories for the other optional Level 2 modules.
Hanging it off a factory method/getter elsewhere in the DOM would be no
cheaper.

You only have to cast once per document, of course, if you cache the
DocumentTraversal view.


>A better alternative would be a getDocumentTraversal method on Document
or,
>better, DOMImplementation

I believe we did look at that alternative. I'm not sure I remember exactly
why it was rejected.

______________________________________
Joe Kesselman  / IBM Research
Received on Saturday, 4 March 2000 15:34:36 GMT

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