Package: libtidy-0.99-0 Version: 20080116cvs-2 Severity: normal File: libtidy
With a recent (Feb. 8) upgrade, elementtree's TidyHTMLTreeBuilder bails on every document it tries to parse: >>> tree = TidyHTMLTreeBuilder.parse(html) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/var/lib/python-support/python2.4/elementtidy/TidyHTMLTreeBuilder.py", line 109, in parse return ElementTree.parse(source, TreeBuilder()) File "/var/lib/python-support/python2.4/elementtree/ElementTree.py", line 859, in parse tree.parse(source, parser) File "/var/lib/python-support/python2.4/elementtree/ElementTree.py", line 584, in parse self._root = parser.close() File "/var/lib/python-support/python2.4/elementtidy/TidyHTMLTreeBuilder.py", line 95, in close return ElementTree.XML(stdout) File "/var/lib/python-support/python2.4/elementtree/ElementTree.py", line 960, in XML parser.feed(text) File "/var/lib/python-support/python2.4/elementtree/ElementTree.py", line 1242, in feed self._parser.Parse(data, 0) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 1 >>> I believe the upgrade of libtidy caused the problem. See also bug #461629. -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.18.8-domU-linode5 (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages libtidy-0.99-0 depends on: ii libc6 2.7-6 GNU C Library: Shared libraries libtidy-0.99-0 recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]