Skip to content

Commit 5731da5

Browse files
committed
Add XML version
1 parent 9b76ff9 commit 5731da5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

autoload/webapi/xmlrpc.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ function! webapi#xmlrpc#call(uri, func, args)
210210
if !empty(a:args)
211211
call add(methodCall.child, s:add_node_params(a:args))
212212
endif
213-
let xml = '<?xml encoding="utf-8"?>'
213+
let xml = '<?xml version="1.0" encoding="utf-8"?>'
214214
let xml .= iconv(methodCall.toString(), &encoding, "utf-8")
215215
let res = webapi#http#post(a:uri, xml, {"Content-Type": "text/xml"})
216216
let dom = webapi#xml#parse(res.content)

0 commit comments

Comments
 (0)