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

Changeset 1690

Show
Ignore:
Timestamp:
07/23/06 11:09:35 (2 years ago)
Author:
nahi
Message:

SOAPHeaderItem does not set extattr correctly. Applied a patch from Kent. fixes #226.

Files:

Legend:

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

    r1670 r1690  
    168168      @element.extraattr[key] = value 
    169169    end 
    170     @element.extraattr[ns.name(AttrMustUnderstandName)] = 
    171       (@mustunderstand ? '1' : '0') 
     170    @element.extraattr[AttrMustUnderstandName] = (@mustunderstand ? '1' : '0') 
    172171    if @encodingstyle 
    173       @element.extraattr[ns.name(AttrEncodingStyleName)] = @encodingstyle 
     172      @element.extraattr[AttrEncodingStyleName] = @encodingstyle 
    174173    end 
    175174    unless @element.encodingstyle 
     
    177176    end 
    178177    if @actor 
    179       @element.extraattr[ns.name(AttrActorName)] = @actor 
     178      @element.extraattr[AttrActorName] = @actor 
    180179    end 
    181180    yield(@element)