mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-31 21:50:33 +03:00
* parser.c: do not set error code in xmlNsWarn
This commit is contained in:
@@ -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>
|
Wed Apr 15 11:18:24 CEST 2009 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* include/libxml/parser.h include/libxml/xmlwriter.h
|
* include/libxml/parser.h include/libxml/xmlwriter.h
|
||||||
|
|||||||
2
parser.c
2
parser.c
@@ -727,8 +727,6 @@ xmlNsWarn(xmlParserCtxtPtr ctxt, xmlParserErrors error,
|
|||||||
if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
|
if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
|
||||||
(ctxt->instate == XML_PARSER_EOF))
|
(ctxt->instate == XML_PARSER_EOF))
|
||||||
return;
|
return;
|
||||||
if (ctxt != NULL)
|
|
||||||
ctxt->errNo = error;
|
|
||||||
__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_NAMESPACE, error,
|
__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_NAMESPACE, error,
|
||||||
XML_ERR_WARNING, NULL, 0, (const char *) info1,
|
XML_ERR_WARNING, NULL, 0, (const char *) info1,
|
||||||
(const char *) info2, (const char *) info3, 0, 0, msg,
|
(const char *) info2, (const char *) info3, 0, 0, msg,
|
||||||
|
|||||||
Reference in New Issue
Block a user