diff --git a/src/util/xml.c b/src/util/xml.c index b0942da89ca9b358a8ea73bad05c70a08ee12cf9..46ffe82856bfcfb49ef82decd1e58293fc0bfe17 100644 --- a/src/util/xml.c +++ b/src/util/xml.c @@ -757,11 +757,11 @@ virXMLParseHelper(int domcode, if (filename) { xml = xmlCtxtReadFile(pctxt, filename, NULL, - XML_PARSE_NOENT | XML_PARSE_NONET | + XML_PARSE_NONET | XML_PARSE_NOWARNING); } else { xml = xmlCtxtReadDoc(pctxt, BAD_CAST xmlStr, url, NULL, - XML_PARSE_NOENT | XML_PARSE_NONET | + XML_PARSE_NONET | XML_PARSE_NOWARNING); } if (!xml)