Replace pyxml/xmlproc-based XML validator with lxml based one

Pyxml/xmlproc is being used in tools/xen/xm/xenapi_create.py but is
unmaintained for several years now. xmlproc is used only for validating
XML documents against a DTD file.

This patch replaces the pyxml/xmlproc based XML validation with code
based on lxml, which is actively maintained.

Signed-off-by: Stephan Peijnik <spe@anexia.at>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
committer: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
Stephan Peijnik committed 2010-10-11 17:54:53 +01:00
1 parent cfb53841a5
commit f5f0af18aa
2 files changed
+55 -52

No files matched your search

+8 -4
View File
@@ -107,12 +107,15 @@ Python Runtime Libraries
Xend (the Xen daemon) has the following runtime dependencies:
* Python 2.3 or later.
In many distros, the XML-aspects to the standard library
In some distros, the XML-aspects to the standard library
(xml.dom.minidom etc) are broken out into a separate python-xml package.
This is also required.
In more recent versions of Debian and Ubuntu the XML-aspects are included
in the base python package however (python-xml has been removed
from Debian in squeeze and from Ubuntu in intrepid).
URL: http://www.python.org/
Debian: python, python-xml
Debian: python
* For optional SSL support, pyOpenSSL:
URL: http://pyopenssl.sourceforge.net/
@@ -123,8 +126,9 @@ Xend (the Xen daemon) has the following runtime dependencies:
Debian: python-pam
* For optional XenAPI support in XM, PyXML:
URL: http://pyxml.sourceforge.net
YUM: PyXML
URL: http://codespeak.net/lxml/
Debian: python-lxml
YUM: python-lxml
Intel(R) Trusted Execution Technology Support
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.