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

Re: Is appendChild/insertBefore() supposed to raise exceptions for attributes?

From: <ray@xmission.com>
Date: Mon, 26 Feb 2007 17:53:19 -0700
Message-ID: <20070226175319.94uuaz282swgs0cc@webmail.xmission.com>
To: Joe D Williams <joedwil@earthlink.net>
Cc: Frans Englich <frans.englich@telia.com>, www-dom@w3.org

Quoting Joe D Williams <joedwil@earthlink.net>:

>
>> In some implementations I am aware of, for example, a single
>> representation of common nodes are shared between parents/owners,
>
> Isn't this a whole different graph? Is this a case where something like
> Object declare is working?
> Are there other standardized cases in the DOM where a child may have
> mulitple parents?

I was talking the implementation, not the API.

As shown through the API, the node has at most one owner or parent.

That does not mean you cannot be more efficient on the implementation.

Ray
Received on Tuesday, 27 February 2007 00:53:32 GMT

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