Changeset 1860
- Timestamp:
- 06/24/07 23:45:49 (11 months ago)
- Files:
-
- trunk/lib/wsdl/xmlSchema/importer.rb (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/wsdl/xmlSchema/importer.rb
r1824 r1860 7 7 8 8 9 require 'soap/soap' 9 10 require 'soap/httpconfigloader' 10 11 require 'wsdl/xmlSchema/parser' … … 16 17 17 18 class Importer 19 DO_NOT_IMPORT = [::SOAP::EncodingNamespace] 20 18 21 def self.import(location, originalroot = nil) 19 22 new.import(location, originalroot) … … 25 28 26 29 def import(location, originalroot = nil) 30 if DO_NOT_IMPORT.include?(location.to_s) 31 return nil 32 end 27 33 unless location.is_a?(URI) 28 34 location = URI.parse(location)