Package: xmldiff
Version: 0.6.8-4.1
Severity: grave

xmldiff is not able to compare a minimal tree with itself. As I would consider
this the minimal tree with any information, this makes the whole tool unusable.

| $ cat test.xml 
| <test test="test" />
| $ xmldiff test.xml test.xml
| [append-first, /,
| Traceback (most recent call last):
|   File "/usr/bin/xmldiff", line 4, in <module>
|     main.run()
|   File "/usr/lib/python2.5/site-packages/xmldiff/main.py", line 255, in run
|     encoding, html)
|   File "/usr/lib/python2.5/site-packages/xmldiff/main.py", line 117, in 
process_files
|     strategy.process_trees(tree1, tree2)
|   File "/usr/lib/python2.5/site-packages/xmldiff/fmes.py", line 104, in 
process_trees
|     self._formatter.end()
|   File "/usr/lib/python2.5/site-packages/xmldiff/format.py", line 80, in end
|     self.format_action(action)
|   File "/usr/lib/python2.5/site-packages/xmldiff/format.py", line 105, in 
format_action
|     xml_print(action[A_N2])
|   File "/usr/lib/python2.5/site-packages/xmldiff/objects.py", line 180, in 
xml_print
|     _xml_print_internal_format(node, indent, stream)
|   File "/usr/lib/python2.5/site-packages/xmldiff/objects.py", line 191, in 
_xml_print_internal_format
|     n[N_CHILDS][0][N_VALUE])
| IndexError: list index out of range

Bastian

-- 
Spock: We suffered 23 casualties in that attack, Captain.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to