[XML-SIG] [ pyxml-Patches-429102 ] Node.appendChild: raise if ancestor

noreply@sourceforge.net noreply@sourceforge.net
Thu, 31 May 2001 11:44:44 -0700


Patches item #429102, was updated on 2001-05-31 11:44
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=306473&aid=429102&group_id=6473

Category: 4Suite
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Karl Anderson (karlanderson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Node.appendChild: raise if ancestor

Initial Comment:
This patch raises a HierarchyRequestErr on an attempt
to appendChild with self or an ancestor.

This is required behavior, and besides, such attempts
were causing hangs during the _4dom_fireMutationEvent
call.

Found when running my PyXML checkout through the
Zope ParsedXML DOM test suite.  With this patch,
PyXML completes the suite without hanging.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=306473&aid=429102&group_id=6473