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

RE: DOM Level 1 Becomes a W3C Recommendation

From: <msabin@cromwellmedia.co.uk>
Date: Thu, 1 Oct 1998 18:42:47 +0100
Message-ID: <c=US%a=_%p=Cromwell_Media%l=ODIN-981001174247Z-2448@odin.cromwellmedia.co.uk>
To: <cowan@locke.ccil.org>, <www-dom@w3.org>
John Cowan wrote,
> msabin@cromwellmedia.co.uk wrote:
> 
> > > * added text about HIERARCHY_REQUEST_ERR being raised
> > > by Node.insertBefore/replaceChild/appendChild when the
> > > specified node is one of this node's ancestors.
> > 
> > Oh, thank-you *very* much (not) ... bang goes O(1) insert.
> 
> Better that than allowing loops in the tree.

What's wrong with a documented precondition for the
method? That's been deemed good enough in all the
APIs I've ever seen. How much hand-holding do DOM
users need?

Cheers,


Miles
Received on Thursday, 1 October 1998 13:46:46 GMT

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