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

Fixes bug #106931 in XInclude entities merging. Daniel

* xinclude.c: Fixes bug #106931 in XInclude entities merging.
Daniel
This commit is contained in:
Daniel Veillard
2003-02-24 18:16:47 +00:00
parent fcc822e2db
commit 2406abda9c
2 changed files with 7 additions and 0 deletions

View File

@ -1062,6 +1062,9 @@ xmlXIncludeMergeEntity(xmlEntityPtr ent, xmlXIncludeMergeDataPtr data,
} else if ((ent->SystemID != NULL) && (prev->SystemID != NULL)) {
if (!xmlStrEqual(ent->ExternalID, prev->ExternalID))
goto error;
} else if ((ent->content != NULL) && (prev->content != NULL)) {
if (!xmlStrEqual(ent->content, prev->content))
goto error;
} else {
goto error;
}