Fix Bug 411062: typo of 'true'. Modify unit test to cover exercising the code. Update testscour.py for new indent_type option.

This commit is contained in:
JSCHILL1 2009-08-09 15:04:50 -05:00
parent e17d3b8526
commit 5f5c8a431d
3 changed files with 8 additions and 3 deletions

View file

@ -30,7 +30,8 @@
# * Collapse all group based transformations
# Even more ideas here: http://esw.w3.org/topic/SvgTidy
# * analysis of path elements to see if rect can be used instead?
# * analysis of path elements to see if rect can be used instead? (must also need to look
# at rounded corners)
# * removal of unused attributes in groups:
# <g fill="blue" ...>
# <rect fill="red" ... />
@ -1866,7 +1867,7 @@ def remapNamespacePrefix(node, oldprefix, newprefix):
# clone and add all the child nodes
for child in node.childNodes:
newNode.appendChild(child.cloneNode(true))
newNode.appendChild(child.cloneNode(True))
# replace old node with new node
node = parent.replaceChild( newNode, node )