* parser.c: do not set error code in xmlNsWarn
diff --git a/ChangeLog b/ChangeLog
index 34cd89b..62ccabb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Apr 29 16:09:38 CEST 2009 Rob Richards <rrichards@cdatazone.org>
+
+ * parser.c: do not set error code in xmlNsWarn
+
Wed Apr 15 11:18:24 CEST 2009 Daniel Veillard <daniel@veillard.com>
* include/libxml/parser.h include/libxml/xmlwriter.h
diff --git a/parser.c b/parser.c
index efa64dd..5b04cf5 100644
--- a/parser.c
+++ b/parser.c
@@ -727,8 +727,6 @@
if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
(ctxt->instate == XML_PARSER_EOF))
return;
- if (ctxt != NULL)
- ctxt->errNo = error;
__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_NAMESPACE, error,
XML_ERR_WARNING, NULL, 0, (const char *) info1,
(const char *) info2, (const char *) info3, 0, 0, msg,