Displaying 3 results from an estimated 3 matches for "peijnik".
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
...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>
diff -r 6e0ffcd2d9e0 -r 7082ce86e492
tools/python/xen/xm/xenapi_create.py
--- a/tools/python/xen/xm/xenapi_create.py Fri Sep 17 17:06:57 2010
+0100
+++ b/tools/python/xen/xm/xenapi_create.py Fri Oct 08 12:31:18 2010
+0200
@@ -14,13 +14,15 @@
# Foundation, Inc., 59 Temple Pla...
2010 Oct 08
2
Bug#599520: xen: Patch for replacing python-xml based code with python-lxml based code.
Package: xen
Version: 4.0.1-1
Tags: patch
Attached is a patch which I already sent upstream that replaces the
python-xml (pyxml/xmlproc) based validation code with validation code
based on python-lxml. The obvious gain from this is that XenAPI works on
Squeeze and Sid, where python-xml is not available anymore.
Additionally this patch adds a dependency on python-lxml for the
xen-utils-4.0
2010 Oct 07
0
Bug#599434: xen-utils-4.0: create.dtd is missing
Package: xen-utils-4.0
Version: 4.0.1-1
The Python code in /usr/lib/xen-4.0/lib/python/xen/xm/xenapi_create.py
tries to validate an XML configuration against a missing "create.dtd"
DTD file.
The code expects at SHAREDIR/xen/create.dtd (SHAREDIR is "/usr/share"
according to /usr/lib/xen-4.0/lib/python/xen/util/path.py).
In the Xen source distribution the missing file can be