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

Changeset 1907

Show
Ignore:
Timestamp:
07/31/07 00:02:20 (1 year ago)
Author:
nahi
Message:
  • added supports of complexType definition inheritance. soap4r supported only element definition inheritance. closes #394.
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/soap/mapping/literalregistry.rb

    r1897 r1907  
    7777      return mappingobj2soap(obj, qname) 
    7878    end 
    79     class_definition = schema_definition_from_class(obj_class || obj.class) 
     79    class_definition = schema_definition_from_class(obj.class) 
     80    if class_definition.nil? and obj_class 
     81      class_definition = schema_definition_from_class(obj_class) 
     82    end 
    8083    elename_definition = schema_definition_from_elename(qname) 
    8184    if !class_definition and !elename_definition