Package: xmldiff
Version: 0.6.8-4
Severity: normal

% xmldiff example.xml example1.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

The first file is:

% cat example.xml
<ns1:foo xmlns:ns1="http://foo.com/foo";>
    <ns1:bar>Hello</ns1:bar>
</ns1:foo>

The second:

% cat example1.xml
<foo xmlns="http://foo.com/foo";>
    <bar>Hello</bar>
</foo>

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages xmldiff depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries
ii  python                        2.5.2-3    An interactive high-level object-o
ii  python-central                0.6.8      register and build utility for Pyt

xmldiff recommends no packages.

Versions of packages xmldiff suggests:
pn  python-psyco                  <none>     (no description available)
pn  xmldiff-xmlrev                <none>     (no description available)

-- no debconf information



-- 
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