python-xml doesn't contain all of the modules

Paweł Skarżyński chesteroni at gmail.com
Sun Aug 3 17:27:08 BST 2008


Hello!

I am running Ubuntu 8.04 and I'm using python 2.5 to develop some applications.
I just needed to use PyXML. The package containing it is in
debian/ubuntu called:
python-xml

The package version is: 0.8.4-10ubuntu2
So I think it contains PyXML 0.8.4 which is the latest version.

In my code I MUST use such instruction:
<code>
from xml.dom.ext import Canonicalize
</code>

But python-xml does not made ext module available in Python.
When I manually installed downloaded tarball from sourceforge with
PyXML 0.8.4 - it worked.
It should work without such manual intervention - but it isn't so I
think, there are two possibilities:
a) there was an error during creating .deb package and the package
does not contains extensions (in ext subdirectory)
b) the package has put ext module in incorrect place so " from
xml.dom.ext" cannot work.

Pawel Skarzynski



More information about the Ubuntu-motu mailing list