commit | c6613048af6864f162d0587bf221fac825672c71 | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Sat Mar 02 09:34:02 2002 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Sat Mar 02 09:34:02 2002 +0000 |
tree | a43cb277e02abf0fe60d4ff1be4f05417f7e7829 | |
parent | c0fef7745518d98f32d3fce0a0f2ba0eecb35c5f [diff] [blame] |
fix bug #72706 when loading a NULL entity Daniel * xmlIO.c: fix bug #72706 when loading a NULL entity Daniel
diff --git a/xmlIO.c b/xmlIO.c index 815df62..056beb8 100644 --- a/xmlIO.c +++ b/xmlIO.c
@@ -2528,6 +2528,8 @@ 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,