From: Hans Wennborg Date: Wed, 25 Oct 2017 08:30:52 +0000 (-0700) Subject: XML_ErrorString: handle XML_ERROR_INVALID_ARGUMENT X-Git-Tag: R_2_2_5~7^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ae72360c66629509684297abf78e8a62894c252;p=libexpat XML_ErrorString: handle XML_ERROR_INVALID_ARGUMENT Previously, this enum didn't have any error string. --- diff --git a/expat/lib/xmlparse.c b/expat/lib/xmlparse.c index 8b939029..ee5534cc 100644 --- a/expat/lib/xmlparse.c +++ b/expat/lib/xmlparse.c @@ -2391,6 +2391,8 @@ XML_ErrorString(enum XML_Error code) return XML_L("reserved prefix (xmlns) must not be declared or undeclared"); case XML_ERROR_RESERVED_NAMESPACE_URI: return XML_L("prefix must not be bound to one of the reserved namespace names"); + case XML_ERROR_INVALID_ARGUMENT: + return XML_L("invalid argument"); } return NULL; }