Commit c6613048 authored by Daniel Veillard's avatar Daniel Veillard
Browse files

fix bug #72706 when loading a NULL entity Daniel

* xmlIO.c: fix bug #72706 when loading a NULL entity
Daniel
parent c0fef774
Sat Mar 2 10:33:04 CET 2002 Daniel Veillard <daniel@veillard.com>
* xmlIO.c: fix bug #72706 when loading a NULL entity
Fri Mar 1 17:14:42 CET 2002 Daniel Veillard <daniel@veillard.com>
* SAX.c: Fixed #72346, about handling of xmlns:foo="", this could
......
......@@ -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,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment