diff --git a/ChangeLog b/ChangeLog index 5ce6481e..02f04226 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Mar 2 10:33:04 CET 2002 Daniel Veillard + + * xmlIO.c: fix bug #72706 when loading a NULL entity + Fri Mar 1 17:14:42 CET 2002 Daniel Veillard * SAX.c: Fixed #72346, about handling of xmlns:foo="", this could diff --git a/xmlIO.c b/xmlIO.c index 815df620..056beb88 100644 --- a/xmlIO.c +++ b/xmlIO.c @@ -2528,6 +2528,8 @@ xmlDefaultExternalEntityLoader(const char *URL, const char *ID, resource = (xmlChar *) URL; if (resource == NULL) { + if (ID == NULL) + ID = "NULL"; if ((ctxt->validate) && (ctxt->sax != NULL) && (ctxt->sax->error != NULL)) ctxt->sax->error(ctxt,