Skip to content

Commit

Permalink
Merge pull request #56 from potok-digital/fix-incorrect-xpath-expression
Browse files Browse the repository at this point in the history
Fix crash in parsing by reason of incorrect expression
  • Loading branch information
Nitrino authored Feb 8, 2019
2 parents 9242a20 + 4583bfa commit 9748fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/soap/wsdl.ex
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ defmodule Soap.Wsdl do
defp get_schema_attributes(wsdl, protocol_ns) do
wsdl
|> xpath(
~x"//#{ns("types", protocol_ns)}/*[local-name() = 'schema']",
~x"//*[local-name() = 'schema']",
target_namespace: ~x"./@targetNamespace"s,
element_form_default: ~x"./@elementFormDefault"s
)
Expand Down

0 comments on commit 9748fdf

Please sign in to comment.