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,