Node.insertBefore is required to throw a HIERARCHY_REQUEST_ERR if the operation would result in a document node containing multiple document type or element nodes. However, Node.addChild and Node.replaceChild can both result in the same condition, but do not have declare that a HIERARCHY_REQUEST_ERR should be thrown. There is also a typo in the text for Node.insertBefore (if this node if (sic) of type). Test nodereplacechild12 is failed by one implementation which throws an exception when a second element is added to a document using Node.appendChild. Passing nodereplacechild12 indicates that an implementation does not throw an exception.Received on Monday, 29 December 2003 00:58:30 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:24:57 GMT