summaryrefslogtreecommitdiff
path: root/lib/wsdl/import.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wsdl/import.rb')
-rw-r--r--lib/wsdl/import.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/wsdl/import.rb b/lib/wsdl/import.rb
index ab244f6ca6..706cb95fe2 100644
--- a/lib/wsdl/import.rb
+++ b/lib/wsdl/import.rb
@@ -39,13 +39,13 @@ class Import < Info
def parse_attr(attr, value)
case attr
when NamespaceAttrName
- @namespace = value
+ @namespace = value.source
if @content
@content.targetnamespace = @namespace
end
@namespace
when LocationAttrName
- @location = value
+ @location = value.source
@content = import(@location)
if @content.is_a?(Definitions)
@content.root = root