| Class | WSDL::XMLSchema::Include |
| In: |
lib/wsdl/xmlSchema/include.rb
|
| Parent: | Info |
| content | [R] | |
| schemalocation | [R] |
# File lib/wsdl/xmlSchema/include.rb, line 21
21: def initialize
22: super
23: @schemalocation = nil
24: @content = nil
25: end
# File lib/wsdl/xmlSchema/include.rb, line 31
31: def parse_attr(attr, value)
32: case attr
33: when SchemaLocationAttrName
34: @schemalocation = URI.parse(value.source)
35: if @schemalocation.relative?
36: @schemalocation = parent.location + @schemalocation
37: end
38: @content = import(@schemalocation)
39: @schemalocation
40: else
41: nil
42: end
43: end