# HG changeset patch # User paulb # Date 1066684460 0 # Node ID a25fbe972a2dbef297d5639b9a795b074b9fb546 # Parent c8b5119e842a3b48c567d6a489953982c0c04bc0 [project @ 2003-10-20 21:14:20 by paulb] Apparently fixed setAttributeNS for attributes with namespaces identical to those of the owning elements. diff -r c8b5119e842a -r a25fbe972a2d __init__.py --- a/__init__.py Mon Oct 06 22:11:00 2003 +0000 +++ b/__init__.py Mon Oct 20 21:14:20 2003 +0000 @@ -196,7 +196,7 @@ if prefix is not None: self._node.setNsProp(self._node.newNs(ns, prefix), localName, value) elif ns == self._node.ns().content: - self._node.setNsProp(self._node.ns(), localName, value) + self._node.setNsProp(self._node.ns().content, localName, value) else: # NOTE: Needs verifying: what should happen to the namespace? self._node.setNsProp(None, localName, value)