[Bug 343242] Re: python-xml seems to be broken with python-2.6: xpath does not work

Bruno Harbulot Bruno.Harbulot at manchester.ac.uk
Mon Sep 14 18:29:15 BST 2009


Sorry, I hadn't realised the entire python-xml package had been removed
(I though you were only talking of PyXML). It has indeed been removed
from Debian too.

I'm not sure about the other libraries that were in python-xml, but it
seems that PyXML works fine (with the patch for "as" keyword) so far. I
managed to install it with "python setup.py install" (which can be done
via checkinstall to create a package). Perhaps this could be packaged in
a package on its own (python-pyxml?).

I found that some features of PyXML were not available via ElementTree
1.2.6 (which is the one package with python-2.6 2.6.2-0ubuntu1 -
Jaunty/9.04), in particular, XPath expressions based on attributes
([@attr]). This feature seem only available from version 1.3 of
ElementTree (http://effbot.org/zone/element-xpath.htm ). The same
version seems to be in the python2.6 package for the upcoming
karmic/9.10. I suppose libxml2 might provide this feature.

-- 
python-xml seems to be broken with python-2.6: xpath does not work
https://bugs.launchpad.net/bugs/343242
You received this bug notification because you are a member of Ubuntu
Package Archive Administrators, which is a direct subscriber.



More information about the ubuntu-archive mailing list