# HG changeset patch # User paulb # Date 1125874622 0 # Node ID de2e3795890efefcbb150917c26da712d77f4372 # Parent 115e88a22794b0854f66febd17dc9be164336d0f [project @ 2005-09-04 22:57:02 by paulb] Fixed the parseURI usage of libxml2mod functions. diff -r 115e88a22794 -r de2e3795890e libxml2dom/macrolib/macrolib.py --- a/libxml2dom/macrolib/macrolib.py Thu Aug 18 21:15:31 2005 +0000 +++ b/libxml2dom/macrolib/macrolib.py Sun Sep 04 22:57:02 2005 +0000 @@ -371,7 +371,7 @@ def parseURI(uri, html=0): # NOTE: Switching off validation and remote DTD resolution. if not html: - context = libxml2mod.xmlCreateURLParserCtxt(url) + context = libxml2mod.xmlCreateURLParserCtxt(uri, 0) libxml2mod.xmlParserSetPedantic(context, 0) libxml2mod.xmlParserSetValidate(context, 0) libxml2mod.xmlCtxtUseOptions(context, XML_PARSE_NOERROR | XML_PARSE_NOWARNING | XML_PARSE_NONET)