fixed bug #131745 raised by Shaun McCance with the suggested patch Daniel

* parser.c: fixed bug #131745 raised by Shaun McCance with the
  suggested patch
Daniel
diff --git a/ChangeLog b/ChangeLog
index e06beea..1bd1208 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed Jan 21 17:03:17 CET 2004 Daniel Veillard <daniel@veillard.com>
+
+	* parser.c: fixed bug #131745 raised by Shaun McCance with the
+	  suggested patch
+
 Wed Jan 21 10:59:55 CET 2004 Daniel Veillard <daniel@veillard.com>
 
 	* xmlwriter.c: applied patch from Alfred Mickautsch fixing a memory
diff --git a/parser.c b/parser.c
index 4c76bf9..fddd21f 100644
--- a/parser.c
+++ b/parser.c
@@ -11736,6 +11736,7 @@
 
     ctxt->wellFormed = 1;
     ctxt->nsWellFormed = 1;
+    ctxt->disableSAX = 0;
     ctxt->valid = 1;
     ctxt->vctxt.userData = ctxt;
     ctxt->vctxt.error = xmlParserValidityError;