From: Brian Candler Date: 2003-03-18T03:29:24+09:00 Subject: Re: ANN: Madeleine 0.1 On Mon, Mar 17, 2003 at 06:05:02PM +0000, Brian Candler wrote: > irb(main):001:0> require 'soap/marshal' > true > irb(main):002:0> a = SOAP::Marshal.dump("abc") > "\n\n\nabc\n\n\n" > irb(main):003:0> b = SOAP::Marshal.load(a) > "abc" > > but actually it's not compatible with Marshal, because: > - you can't pass an IO object to load, it must be a string Sorry I was wrong, it takes an IO object quite happily (but I can't see easily whether it reads the whole thing, or reads it in chunks) > - you can't pass an IO object as the second parameter to dump > (it takes a mappingRegistry instead) I can't see how to get around that one though. Regards, Brian.