]> git.eshelyaron.com Git - emacs.git/commitdiff
soap-client: fix validation against byte[]
authorMattias Engdegård <mattiase@acm.org>
Wed, 21 Dec 2022 11:05:08 +0000 (12:05 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 21 Dec 2022 11:07:32 +0000 (12:07 +0100)
* 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

index 5e7bdbe6c6af878fbe7c1690949192bc9e028613..6e9200e4656dd7a3972821c0158b1205f8a2bba9 100644 (file)
@@ -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)))