1
# WSDL4R - XMLSchema include definition.
2
# Copyright (C) 2005 NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
4
# This program is copyrighted free software by NAKAMURA, Hiroshi. You can
5
# redistribute it and/or modify it under the same terms of Ruby's license;
6
# either the dual license version in 2003, or any later version.
10
require 'wsdl/xmlSchema/importer'
18
attr_reader :schemalocation
27
def parse_element(element)
31
def parse_attr(attr, value)
33
when SchemaLocationAttrName
34
@schemalocation = URI.parse(value.source)
35
if @schemalocation.relative?
36
@schemalocation = parent.location + @schemalocation
38
@content = import(@schemalocation)
48
Importer.import(location)