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

Changeset 1127

Show
Ignore:
Timestamp:
12/23/03 11:07:45 (5 years ago)
Author:
nahi
Message:

[ruby-talk:88650]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test/xsd/test_noencoding.rb

    r1074 r1127  
    1212 
    1313  def test_wsdl 
    14     xml = WSDL::XMLSchema::Parser.new.parse(File.open(@file) { |f| f.read }) 
     14    begin 
     15      xml = WSDL::XMLSchema::Parser.new.parse(File.open(@file) { |f| f.read }) 
     16    rescue Errno::EINVAL 
     17      # unsupported encoding 
     18      return 
     19    end 
    1520    assert_equal(WSDL::XMLSchema::Schema, xml.class) 
    1621    assert_equal(0, xml.collect_elements.size)