Welcome to the "trac"-ing site of soap4r!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Changeset 1860

Show
Ignore:
Timestamp:
06/24/07 23:45:49 (11 months ago)
Author:
nahi
Message:
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/wsdl/xmlSchema/importer.rb

    r1824 r1860  
    77 
    88 
     9require 'soap/soap' 
    910require 'soap/httpconfigloader' 
    1011require 'wsdl/xmlSchema/parser' 
     
    1617 
    1718class Importer 
     19  DO_NOT_IMPORT = [::SOAP::EncodingNamespace] 
     20 
    1821  def self.import(location, originalroot = nil) 
    1922    new.import(location, originalroot) 
     
    2528 
    2629  def import(location, originalroot = nil) 
     30    if DO_NOT_IMPORT.include?(location.to_s) 
     31      return nil 
     32    end 
    2733    unless location.is_a?(URI) 
    2834      location = URI.parse(location)