diff --git a/src/util/virxml.c b/src/util/virxml.c index 9f00f62cc64b8f1cbe63e7c8c25e35dbac8e66ec..34af64a01fa9ac31f5cd0f40b9eda0a210e62472 100644 --- a/src/util/virxml.c +++ b/src/util/virxml.c @@ -746,11 +746,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)