hc_nodeInsertBeforeInvalidNodeType
Curt Arnold
The "insertBefore(newChild,refChild)" method raises a
HIERARCHY_REQUEST_ERR DOMException if this node is of
a type that does not allow children of the type "newChild"
to be inserted.
Retrieve the root node and attempt to insert a newly
created Attr node. An Element node cannot have children
of the "Attr" type, therefore the desired exception
should be raised.
2002-06-09