search for: load_dtd

Displaying 2 results from an estimated 2 matches for "load_dtd".

Did you mean: load_dll
2010 Oct 08
7
[PATCH] Replace pyxml/xmlproc-based XML validator with lxml based one.
...rom os.path import join import traceback import re +import warnings # Used by lxml-based validator def log(_, msg): #print "> " + msg @@ -118,62 +121,58 @@ Use this if possible as it gives nice error messages """ - dtd = xmldtd.load_dtd(self.dtd) - parser = xmlproc.XMLProcessor() - parser.set_application(xmlval.ValidatingApp(dtd, parser)) - parser.dtd = dtd - parser.ent = dtd - parser.parse_resource(file) - + try: + dtd = etree.DTD(open(self.dtd, ''r'')) +...
2007 Jul 14
0
[PATCH] [XM] Pass --skipdtd parameter to ''xm new'' application
Pass the -s|--skipdtd parameter through to the ''xm new'' application. On my machine I get random hangs in the function that''s loading the dtd (xmldtd.load_dtd in xenapi_create.py)?! Signed-off-by: Stefan Berger <stefanb@us.ibm.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel