OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DOM appendChild question



Should it be possible to append a node to itself?

I.E. a.appendChild(a);

The DOM specifies that it is an error to try and append an ancestor of a
node as a child, but says nothing about whether the nodes are one in the
same. Is this a bug in the DOM spec, or should this work?

David Cleary
Progress Software