# File lib/wsdl/xmlSchema/importHandler.rb, line 26 26: def parse_schemalocation(location, root, parent) 27: @schemalocation = URI.parse(location) 28: if @schemalocation.relative? and !parent.location.nil? and 29: !parent.location.relative? 30: @schemalocation = parent.location + @schemalocation 31: end 32: if root.importedschema.key?(@schemalocation) 33: @content = root.importedschema[@schemalocation] 34: else 35: root.importedschema[@schemalocation] = nil # placeholder 36: @content = Importer.import(@schemalocation, root) 37: root.importedschema[@schemalocation] = @content 38: end 39: @schemalocation 40: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.