an XML-1.0 document can't load an 1.1 entity when using entities make sure
* parser.c include/libxml/xmlerror.h: an XML-1.0 document can't load
an 1.1 entity
* runxmlconf.c: when using entities make sure we load them
Daniel
svn path=/trunk/; revision=3759
diff --git a/runxmlconf.c b/runxmlconf.c
index e5efc6b..0f0e54f 100644
--- a/runxmlconf.c
+++ b/runxmlconf.c
@@ -322,6 +322,7 @@
entities = xmlGetProp(cur, BAD_CAST "ENTITIES");
if (!xmlStrEqual(entities, BAD_CAST "none")) {
options |= XML_PARSE_DTDLOAD;
+ options |= XML_PARSE_NOENT;
}
rec = xmlGetProp(cur, BAD_CAST "RECOMMENDATION");
if ((rec == NULL) ||