Fix #92: WinRM connection fails due to XML parsing

Windows sends XML documents without `<?xml ?>` header.
goxpath library supported it in e2e5bcefc4
This commit is contained in:
Michael Kuzmin 2018-05-04 19:19:53 +03:00
parent 9ea58800b6
commit a981a426bc
2 changed files with 17 additions and 18 deletions

25
Gopkg.lock generated
View File

@ -8,25 +8,25 @@
revision = "c92175d540060095c69ced311f76aea56c83ecdb"
[[projects]]
branch = "master"
name = "github.com/ChrisTrenkamp/goxpath"
packages = [
".",
"internal/execxp",
"internal/lexer",
"internal/parser",
"internal/parser/findutil",
"internal/parser/intfns",
"internal/parser/pathexpr",
"internal/xconst",
"internal/execxp/findutil",
"internal/execxp/intfns",
"internal/xsort",
"lexer",
"parser",
"parser/pathexpr",
"tree",
"tree/xmltree",
"tree/xmltree/xmlbuilder",
"tree/xmltree/xmlele",
"tree/xmltree/xmlnode"
"tree/xmltree/xmlnode",
"xconst"
]
revision = "2ad3b31cf4a21db70fc0cacd0e0120eaae566f98"
version = "v1.0-alpha3"
revision = "c385f95c6022e7756e91beac5f5510872f7dcb7d"
[[projects]]
name = "github.com/dylanmei/iso8601"
@ -122,14 +122,13 @@
revision = "4572e39b1ab9fe03ee513ce6fc7e289e98482190"
[[projects]]
branch = "non-strict"
branch = "master"
name = "github.com/masterzen/winrm"
packages = [
".",
"soap"
]
revision = "d179cf2678135ef005309663bceee2058384917c"
source = "github.com/mkuzmin/winrm"
revision = "7e40f93ae939004a1ef3bd5ff5c88c756ee762bb"
[[projects]]
branch = "master"
@ -270,6 +269,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "e6e9304a6bd19a02a4b36af24d1e3195e19d459012ecb863bc685a90aab9f2ed"
inputs-digest = "8a4e7f25a3386ca66a780d534df46b4d94a4a369e8c1784ce07bd2075c529a4a"
solver-name = "gps-cdcl"
solver-version = 1

View File

@ -6,15 +6,15 @@
name = "github.com/vmware/govmomi"
version = "=0.15.0"
[[override]]
name = "github.com/masterzen/winrm"
source = "github.com/mkuzmin/winrm"
branch = "non-strict"
[[override]]
name = "github.com/masterzen/azure-sdk-for-go"
branch = "master"
# need commit https://github.com/ChrisTrenkamp/goxpath/commit/e2e5bcefc4e07f4a0c587a1200c22665dd39bd0e
[[override]]
name = "github.com/ChrisTrenkamp/goxpath"
branch = "master"
[prune]
go-tests = true
unused-packages = true