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:
2
parser.c
2
parser.c
@ -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) {
|
||||
|
Reference in New Issue
Block a user