fixes bug #57652 reported by Morus Walter Daniel

* parser.c: fixes bug #57652 reported by Morus Walter
Daniel
diff --git a/ChangeLog b/ChangeLog
index ce5e38f..168d2fe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jul 26 11:38:37 EDT 2001 <Daniel.Veillard@imag.fr>
+
+	* parser.c: fixes bug #57652 reported by Morus Walter
+
 Thu Jul 26 10:24:34 EDT 2001 Daniel Veillard <Daniel.Veillard@imag.fr>
 
 	* nanohttp.c: John Kroll provided a small fix to xmlNanoHTTPSave
diff --git a/parser.c b/parser.c
index e3261be..eb94eb9 100644
--- a/parser.c
+++ b/parser.c
@@ -4898,7 +4898,7 @@
     ctxt->external = 1;
     while (((RAW == '<') && (NXT(1) == '?')) ||
            ((RAW == '<') && (NXT(1) == '!')) ||
-           IS_BLANK(CUR)) {
+	   (RAW == '%') || IS_BLANK(CUR)) {
 	const xmlChar *check = CUR_PTR;
 	int cons = ctxt->input->consumed;
 	int tok = ctxt->token;