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

Changeset 1005

Show
Ignore:
Timestamp:
10/11/03 13:49:05 (5 years ago)
Author:
nahi
Message:

Basetype's extraattr was ommitted. Use this for Ruby object extend marshalling.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/soap/encodingstyle/soapHandler.rb

    r972 r1005  
    424424 
    425425    if (klass = TypeMap[type]) 
    426       klass.decode(elename) 
    427     else 
    428       # Unknown type... Struct or String 
    429       SOAPUnknown.new(self, elename, type, extraattr) 
    430     end 
     426      node = klass.decode(elename) 
     427      node.extraattr.update(extraattr) 
     428      return node 
     429    end 
     430 
     431    # Unknown type... Struct or String 
     432    SOAPUnknown.new(self, elename, type, extraattr) 
    431433  end 
    432434