Sander Marechal reported :
I get exactly the same exception when I try to compare two content.xml files from an ODF file. They have a lot of namespaces. The error:
- ::
xmldiff template.odt_FILES/styles.xml document.odt_FILES/styles.xml
[append-first, /,
Traceback (most recent call last):
File "/usr/bin/xmldiff", line 4, in <module>
ReST / HTML errors:System Message: ERROR/3 (<string> , line 10)</p>
Unexpected indentation.
main.run()
ReST / HTML errors:System Message: WARNING/2 (<string> , line 11)</p>
Block quote ends without a blank line; unexpected unindent.
- 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])
ReST / HTML errors:System Message: WARNING/2 (<string> , line 25)</p>
Definition list ends without a blank line; unexpected unindent.IndexError: list index out of range
|