From 5ae72360c66629509684297abf78e8a62894c252 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Wed, 25 Oct 2017 01:30:52 -0700 Subject: [PATCH] XML_ErrorString: handle XML_ERROR_INVALID_ARGUMENT Previously, this enum didn't have any error string. --- expat/lib/xmlparse.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.40.0