[XML-SIG] [ pyxml-Bugs-774108 ] 4DOM setAttributeNode[NS] setting
attribute already on node
SourceForge.net
noreply at sourceforge.net
Sat Jul 19 03:04:17 EDT 2003
Bugs item #774108, was opened at 2003-07-19 09:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=774108&group_id=6473
Category: DOM
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Clover (bobince)
Assigned to: Nobody/Anonymous (nobody)
Summary: 4DOM setAttributeNode[NS] setting attribute already on node
Initial Comment:
setAttributeNode[NS] where the newAttr is already
owned by the element in question should have no effect.
4DOM instead generated InuseAttributeErr.
Suggest replacing line 112 of Element.py:
if node.ownerElement != None:
With:
if node.ownerElement not in (None, self):
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=774108&group_id=6473
More information about the XML-SIG
mailing list