diff --git a/src/util/virxml.c b/src/util/virxml.c index aa55a338748b1353457f0554d8a93d2a3641e5c7..613e8f0d73210abc9e68fe7809c492c39d2c8171 100644 --- a/src/util/virxml.c +++ b/src/util/virxml.c @@ -749,11 +749,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)