From: Mattias EngdegÄrd Date: Wed, 21 Dec 2022 11:05:08 +0000 (+0100) Subject: soap-client: fix validation against byte[] X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2f04019bff4085a09a993995ab8a9d71484dcb0;p=emacs.git soap-client: fix validation against byte[] * lisp/net/soap-client.el (soap-validate-xs-basic-type): `byte[]` is read as the two Lisp values `byte` and `[]` but here the symbol `byte[]` is intended: the brackets need escaping. --- diff --git a/lisp/net/soap-client.el b/lisp/net/soap-client.el index 5e7bdbe6c6a..6e9200e4656 100644 --- a/lisp/net/soap-client.el +++ b/lisp/net/soap-client.el @@ -1317,7 +1317,7 @@ See also `soap-wsdl-resolve-references'." "Validate VALUE against the basic type TYPE." (let* ((kind (soap-xs-basic-type-kind type))) (cl-case kind - ((anyType Array byte[]) + ((anyType Array byte\[\]) value) (t (let ((convert (get kind 'rng-xsd-convert)))