diff --git a/parser.c b/parser.c
index ba70f9e..077849c 100644
--- a/parser.c
+++ b/parser.c
@@ -9316,7 +9316,7 @@ reparse:
 	        const xmlChar *URL = xmlDictLookup(ctxt->dict, attvalue, len);
 		xmlURIPtr uri;
 
-                if (*URL != 0) {
+                if (URL != 0) {
 		    uri = xmlParseURI((const char *) URL);
 		    if (uri == NULL) {
 			xmlNsErr(ctxt, XML_WAR_NS_URI,
