Hi,
There is maybe a defect about SOAP::SOAPDouble.new:
$ cat tb.rb
require 'soap/baseData'
module SOAP
puts SOAP::SOAPDouble.new("0.0a")
end
$ jruby tb.rb
+0
$ ruby tb.rb
/home/dusr/r185/ruby-1.8.5/lib/xsd/datatypes.rb:402:in `screen_data': {
http://www.w3.org/2001/XMLSchema}double: cannot accept '0.0a'.
(XSD::ValueSpaceError)
from /home/dusr/r185/ruby-1.8.5/lib/xsd/datatypes.rb:140:in `set'
from /home/dusr/r185/ruby-1.8.5/lib/xsd/datatypes.rb:157:in `init'
from /home/dusr/r185/ruby-1.8.5/lib/xsd/datatypes.rb:373:in
`initialize'
from /home/dusr/r185/ruby-1.8.5/lib/soap/baseData.rb:47:in
`initialize'
from /home/dusr/r185/ruby-1.8.5/lib/soap/baseData.rb:85:in
`initialize'
from tb.rb:6:in `new'
from tb.rb:6
Who could give any help for this? Thanks.