Comment 16 for bug 343242

Revision history for this message
Bruno Harbulot (bruno-harbulot) wrote :

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.