Browse Source

M c14n.py

-- go thru the parent/etc attributes first, then the current nodes,
	then the current node's namespace nodes will override parent ones.
main
Joshua Boverhof 19 years ago
parent
commit
daba85d742
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      c14n.py

+ 1
- 1
c14n.py View File

@@ -315,7 +315,7 @@ class _implementation:
# Divide attributes into NS, XML, and others.
other_attrs = []
in_subset = _in_subset(self.subset, node)
for a in _attrs(node) + initial_other_attrs:
for a in initial_other_attrs + _attrs(node):
if a.namespaceURI == XMLNS.BASE:
n = a.nodeName
if n == "xmlns:": n = "xmlns" # DOM bug workaround


Loading…
Cancel
Save