diff --git a/src/util/virxml.c b/src/util/virxml.c index f8c595eb93c48408ad69718f34fee1685567fd89..34e572266dd82a9af407cb6f3d01e49d19f21698 100644 --- a/src/util/virxml.c +++ b/src/util/virxml.c @@ -747,11 +747,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)