From c2f04019bff4085a09a993995ab8a9d71484dcb0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Wed, 21 Dec 2022 12:05:08 +0100 Subject: [PATCH] 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. --- lisp/net/soap-client.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) -- 2.39.2