summaryrefslogtreecommitdiff
path: root/lib/wsdl/xmlSchema/schema.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wsdl/xmlSchema/schema.rb')
-rw-r--r--lib/wsdl/xmlSchema/schema.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/wsdl/xmlSchema/schema.rb b/lib/wsdl/xmlSchema/schema.rb
index b530a92556..ddd231bd97 100644
--- a/lib/wsdl/xmlSchema/schema.rb
+++ b/lib/wsdl/xmlSchema/schema.rb
@@ -32,7 +32,7 @@ class Schema < Info
@elements = XSD::NamedElements.new
@attributes = XSD::NamedElements.new
@imports = []
- @elementformdefault = nil
+ @elementformdefault = "qualified"
end
def parse_element(element)
@@ -64,11 +64,11 @@ class Schema < Info
def parse_attr(attr, value)
case attr
when TargetNamespaceAttrName
- @targetnamespace = value
+ @targetnamespace = value.source
when AttributeFormDefaultAttrName
- @attributeformdefault = value
+ @attributeformdefault = value.source
when ElementFormDefaultAttrName
- @elementformdefault = value
+ @elementformdefault = value.source
else
nil
end