Hi,

FWIW, it works fine on the trunk (JRuby 1.1RC1).
I mean, it  raises XSD::ValueSpaceError.

JRuby 1.1RC1 has upgraded to 1.8.6 stdlib.

--Vladimir

On Jan 24, 2008 3:57 AM, Spring Dove <[EMAIL PROTECTED]> wrote:
> Here is the similar case I found:
>
> $ cat tx.rb
> require 'xsd/datatypes'
> module XSD
> puts    XSD::XSDDouble.new("0.0a")
> end
>
> $ jruby tx.rb
> +0
>
> I think these two cases have the same root cause.FYI.
>
> 2008/1/23, Spring Dove <[EMAIL PROTECTED]>:
> > 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.
> >
>
>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to