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

Changeset 1599

Show
Ignore:
Timestamp:
07/27/05 23:35:43 (3 years ago)
Author:
nahi
Message:

add a workaround for importing an WSDL whose path begins with drive letter. closes #115.

Files:

Legend:

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

    r1574 r1599  
    4949        (location.relative? and FileTest.exist?(location.path)) 
    5050      content = File.open(location.path).read 
     51    elsif location.scheme and location.scheme.size == 1 and 
     52        FileTest.exist?(location.to_s) 
     53      # ToDo: remove this ugly workaround for a path with drive letter 
     54      # (D://foo/bar) 
     55      content = File.open(location.to_s).read 
    5156    else 
    5257      client = web_client.new(nil, "WSDL4R")