projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d58e3b3
)
soap-client.el: Prevent some invalid encoding warnings
author
Thomas Fitzsimmons
<fitzsim@fitzsim.org>
Sat, 26 Sep 2020 02:57:25 +0000
(22:57 -0400)
committer
Thomas Fitzsimmons
<fitzsim@fitzsim.org>
Sat, 26 Sep 2020 03:05:34 +0000
(23:05 -0400)
* lisp/net/soap-client.el (soap-encode-xs-complex-type): Do not
warn about missing non-nillable slot if type iself is optional.
lisp/net/soap-client.el
patch
|
blob
|
history
diff --git
a/lisp/net/soap-client.el
b/lisp/net/soap-client.el
index 7425e8763fbb3948b1132ae79ad2b8a3aeb42ec5..bb74f47a8b9a6af0ea1457d1cb67c771889c2932 100644
(file)
--- a/
lisp/net/soap-client.el
+++ b/
lisp/net/soap-client.el
@@
-1716,6
+1716,7
@@
This is a specialization of `soap-encode-value' for
((and (not (eq indicator 'choice))
(= instance-count 0)
(not (soap-xs-element-optional? element))
+ (not (soap-xs-complex-type-optional? type))
(and (soap-xs-complex-type-p element-type)
(not (soap-xs-complex-type-optional-p
element-type))))