Sha256: 1fd226bf92203189c1c48c6096a47775269d75bb513a52fb714aeec3db923e84
Contents?: true
Size: 438 Bytes
Versions: 3
Compression:
Stored size: 438 Bytes
Contents
require 'test/unit' require 'soap/marshal' module XSD class TestNS < Test::Unit::TestCase def test_xmllang @file = File.join(File.dirname(File.expand_path(__FILE__)), 'xmllang.xml') obj = SOAP::Marshal.load(File.open(@file) { |f| f.read }) assert_equal("12345", obj.partyDataLine.gln) lang = obj.partyDataLine.__xmlattr[ XSD::QName.new(XSD::NS::Namespace, "lang")] assert_equal("EN", lang) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
soap4r-1.5.5.20061022 | test/xsd/test_ns.rb |
soap4r-1.5.6 | test/xsd/test_ns.rb |
soap4r-1.5.7 | test/xsd/test_ns.rb |