aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-11 09:22:32 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-11 09:22:32 +0000
commita1c84d4c3e41b36d56b7d75af6c7b963460bbeb8 (patch)
tree9e9ea89f1e4abc5fc927199a2480d2ac2beb0167
parent81160ef2cdd15aeed8d3f90d6c6d2e466b86b9db (diff)
downloadpaludis-a1c84d4c3e41b36d56b7d75af6c7b963460bbeb8.tar.gz
paludis-a1c84d4c3e41b36d56b7d75af6c7b963460bbeb8.tar.xz
Make the metadata check use our cached dtd even with newer libxml versions
-rw-r--r--paludis/qa/metadata_check.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/qa/metadata_check.cc b/paludis/qa/metadata_check.cc
index 68f850b..0b96227 100644
--- a/paludis/qa/metadata_check.cc
+++ b/paludis/qa/metadata_check.cc
@@ -91,7 +91,7 @@ MetadataCheck::operator() (const FSEntry & f) const
else
{
LibXmlPtrHolder<xmlDocPtr> xml_doc(xmlCtxtReadFile(
- xml_parser_context, stringify(f).c_str(), 0, XML_PARSE_DTDLOAD), &xmlFreeDoc);
+ xml_parser_context, stringify(f).c_str(), 0, XML_PARSE_NONET), &xmlFreeDoc);
if (! xml_doc)
result << Message(qal_major, "Unable to parse '" + stringify(f) + "'");
else