diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2008-07-30 12:35:40 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2008-07-30 12:35:40 +0000 |
commit | 40ec29a56f4f03a8b4628b46fbc3582ade156bbd (patch) | |
tree | b9d3d6aed40490be96607136cb87564b324b07ab /runxmlconf.c | |
parent | 051d52cb6166cb8d7064d185820366943177a561 (diff) | |
download | android_external_libxml2-40ec29a56f4f03a8b4628b46fbc3582ade156bbd.tar.gz android_external_libxml2-40ec29a56f4f03a8b4628b46fbc3582ade156bbd.tar.bz2 android_external_libxml2-40ec29a56f4f03a8b4628b46fbc3582ade156bbd.zip |
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
Diffstat (limited to 'runxmlconf.c')
-rw-r--r-- | runxmlconf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runxmlconf.c b/runxmlconf.c index e5efc6b5..0f0e54fb 100644 --- a/runxmlconf.c +++ b/runxmlconf.c @@ -322,6 +322,7 @@ xmlconfTestItem(xmlDocPtr doc, xmlNodePtr cur) { 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) || |