RE: DOM Level 1 Becomes a W3C Recommendation

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 UTC