fixed bug #168504 Daniel

* python/libxml.c: fixed bug #168504
Daniel
diff --git a/ChangeLog b/ChangeLog
index e9270b1..6d8fe42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Mar 31 13:06:02 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+	* python/libxml.c: fixed bug #168504
+
 Thu Mar 31 12:22:54 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
 	* config.h.in configure.in nanoftp.c nanohttp.c xmllint.c
diff --git a/python/libxml.c b/python/libxml.c
index 1b19f2b..b18f887 100644
--- a/python/libxml.c
+++ b/python/libxml.c
@@ -1378,7 +1378,7 @@
     SAX = &pythonSaxHandler;
     Py_INCREF(pyobj_SAX);
     /* The reference is released in pythonEndDocument() */
-    xmlSAXParseFileWithData(SAX, URI, recover, pyobj_SAX);
+    xmlSAXUserParseFile(SAX, pyobj_SAX, URI);
     Py_INCREF(Py_None);
     return (Py_None);
 }