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

Ticket #461 (new defect)

Opened 8 months ago

Last modified 8 months ago

soap4r-1.5.8 unit tests NOK - maybe a dependency problem ?

Reported by: user Assigned to: nahi
Priority: normal Milestone: undefined
Component: soap4r Version: 1.5
Keywords: Cc:

Description

$ gem list

*** LOCAL GEMS ***

actionmailer (2.0.2, 1.3.6, 1.3.3) actionpack (2.0.2, 1.13.6, 1.13.3) actionwebservice (1.2.6, 1.2.3) activerecord (2.0.2, 1.15.6, 1.15.3) activesalesforce (1.1.6) activesupport (2.0.2, 1.4.4, 1.4.2) acts_as_ferret (0.4.3, 0.4.1) builder (2.1.2) capistrano (2.1.0, 2.0.0) cgi_multipart_eof_fix (2.5.0, 2.2) daemons (1.0.9, 1.0.7) dnssd (0.6.0) edi4r (0.9.4.1) edi4r-tdid (0.6.4) fastthread (1.0.1, 1.0) fcgi (0.8.7) ferret (0.11.6, 0.11.4) gem_plugin (0.2.3, 0.2.2) highline (1.4.0, 1.2.9) hpricot (0.6) httpclient (2.1.2) libxml-ruby (0.5.3, 0.3.8.4) mongrel (1.1.3, 1.0.1) needle (1.3.0) net-sftp (1.1.1, 1.1.0) net-ssh (1.1.2) rails (2.0.2, 1.2.6, 1.2.3) rake (0.8.1, 0.7.3) RedCloth? (3.0.4) roxml (1.2) ruby-openid (2.0.4, 1.1.4) ruby-yadis (0.3.4) rubynode (0.1.5, 0.1.3) soap4r (1.5.8) sources (0.0.1) sqlite3-ruby (1.2.1) termios (0.9.4)

$ uname -a Darwin xxx.local 9.2.0 Darwin Kernel Version 9.2.0: Tue Feb 5 16:15:19 PST 2008; root:xnu-1228.3.13~1/RELEASE_PPC Power Macintosh

$ ruby -v ruby 1.8.6 (2007-09-24 patchlevel 111) [universal-darwin9.0]

$ cd /Library/Ruby/Gems/1.8/gems/soap4r-1.5.8/test/xsd/ $ ruby test_ns.rb Loaded suite test_ns Started FE Finished in 0.348962 seconds.

1) Failure:

test_no_default_namespace(XSD::TestNS) [test_ns.rb:23]: <nil> expected but was <"">.

2) Error:

test_xmllang(XSD::TestNS): XSD::NS::FormatError?: unknown namespace qualifier: xml

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/ns.rb:115:in `parse_local' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:532:in `decode_attrs' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:494:in `each' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:494:in `decode_attrs' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/encodingstyle/soapHandler.rb:148:in `decode_tag' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/parser.rb:179:in `decode_tag' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/parser.rb:130:in `start_element' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/xmlparser/parser.rb:67:in `start_element' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/xmlparser/rexmlparser.rb:34:in `tag_start' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:24:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/document.rb:199:in `parse_stream' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/xmlparser/rexmlparser.rb:27:in `do_parse' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/parser.rb:92:in `parse' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/processor.rb:39:in `unmarshal' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/marshal.rb:46:in `unmarshal' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/soap/marshal.rb:33:in `load' test_ns.rb:11:in `test_xmllang'

2 tests, 2 assertions, 1 failures, 1 errors

$ ruby test_xsd.rb Loaded suite test_xsd Started .......E.E.EEE.E...................... Finished in 1.063163 seconds.

1) Error:

test_XSDDuration(XSD::TestXSD): XSD::ValueSpaceError?: {http://www.w3.org/2001/XMLSchema}duration: cannot accept 'PT3456H7890M1234.5678S'.

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/datatypes.rb:446:in `screen_data' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/datatypes.rb:140:in `set' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/datatypes.rb:157:in `init' /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/xsd/datatypes.rb:434:in `initialize' test_xsd.rb:18:in `new' test_xsd.rb:18:in `assert_parsed_result' test_xsd.rb:469:in `test_XSDDuration' test_xsd.rb:468:in `each' test_xsd.rb:468:in `test_XSDDuration'

2) Error:

test_XSDLanguage(XSD::TestXSD): NameError?: uninitialized constant XSD::XSDLanguage

test_xsd.rb:191:in `test_XSDLanguage'

3) Error:

test_XSDNormalizedString(XSD::TestXSD): NoMethodError?: undefined method `strict_ces_validation' for XSD::XSDString:Class

test_xsd.rb:116:in `test_XSDNormalizedString'

4) Error:

test_XSDString_NONE(XSD::TestXSD): NoMethodError?: undefined method `strict_ces_validation' for XSD::XSDString:Class

test_xsd.rb:87:in `test_XSDString_NONE'

5) Error:

test_XSDString_UTF8(XSD::TestXSD): NoMethodError?: undefined method `strict_ces_validation' for XSD::XSDString:Class

test_xsd.rb:61:in `test_XSDString_UTF8'

6) Error:

test_XSDToken(XSD::TestXSD): NameError?: uninitialized constant XSD::XSDToken

test_xsd.rb:145:in `test_XSDToken'

38 tests, 649 assertions, 0 failures, 6 errors

Change History

02/28/08 08:21:19 changed by user

from Rup : rupert.barrow@libertysurf.fr - please remove