1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

Fixed xml-config --version, Daniel.

This commit is contained in:
Daniel Veillard
1999-03-23 10:11:11 +00:00
parent a86c23e3a1
commit 012ccc1c6d
3 changed files with 6 additions and 2 deletions

View File

@ -3138,7 +3138,7 @@ xmlParseEntityRef(xmlParserCtxtPtr ctxt) {
* TODO: to be double checked !!!
*/
ent = xmlGetDocEntity(ctxt->doc, name);
if ((ctxt->doc->standalone) ||
if ((ctxt->doc->standalone == 1) ||
((ctxt->doc->intSubset == NULL) &&
(ctxt->doc->extSubset == NULL))) {
if (ent == NULL) {