From 4ea89f04ccd58de6cc4b83195252d0becba1fe69 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Fri, 29 Jul 2005 10:12:45 +0000 Subject: [PATCH] don't output any message on failed resolver lookups, better done by the * python/libxml.c: don't output any message on failed resolver lookups, better done by the python user provided resolver layer. Daniel --- ChangeLog | 5 +++++ python/libxml.c | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 727b1806..6ce741d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 29 12:11:25 CEST 2005 Daniel Veillard + + * python/libxml.c: don't output any message on failed resolver lookups, + better done by the python user provided resolver layer. + Fri Jul 29 01:48:02 CEST 2005 Daniel Veillard * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c diff --git a/python/libxml.c b/python/libxml.c index 8fc63f88..8ed74bbf 100644 --- a/python/libxml.c +++ b/python/libxml.c @@ -681,8 +681,12 @@ pythonExternalEntityLoader(const char *URL, const char *ID, result = xmlNewIOInputStream(ctxt, buf, XML_CHAR_ENCODING_NONE); } +#if 0 } else { - printf("pythonExternalEntityLoader: can't read\n"); + if (URL != NULL) + printf("pythonExternalEntityLoader: can't read %s\n", + URL); +#endif } if (result == NULL) { Py_DECREF(ret);