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

Changeset 1596

Show
Ignore:
Timestamp:
07/24/05 23:57:59 (3 years ago)
Author:
nahi
Message:

method name change: XSD::Charset.encoding_label -> xml_encoding_label.

Files:

Legend:

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

    r1587 r1596  
    3333    @reftarget = nil 
    3434    @handlers = {} 
    35     @charset = opt[:charset] || XSD::Charset.encoding_label 
     35    @charset = opt[:charset] || XSD::Charset.xml_encoding_label 
    3636    @default_encodingstyle = opt[:default_encodingstyle] || EncodingNamespace 
    3737    @generate_explicit_type = 
  • trunk/lib/soap/mimemessage.rb

    r1520 r1596  
    198198    part = Part.new 
    199199    part.headers.add("Content-Type", 
    200       "text/xml; charset=" + XSD::Charset.encoding_label) 
     200      "text/xml; charset=" + XSD::Charset.xml_encoding_label) 
    201201    part.headers.add("Content-ID", Attachment.contentid(part)) 
    202202    part.body = content 
  • trunk/lib/soap/rpc/driver.rb

    r1540 r1596  
    205205      @wiredump_file_base = value 
    206206    end 
    207     opt["protocol.http.charset"] ||= XSD::Charset.encoding_label 
     207    opt["protocol.http.charset"] ||= XSD::Charset.xml_encoding_label 
    208208    opt["protocol.http.proxy"] ||= Env::HTTP_PROXY 
    209209    opt["protocol.http.no_proxy"] ||= Env::NO_PROXY 
  • trunk/lib/soap/streamHandler.rb

    r1595 r1596  
    122122  def set_options 
    123123    HTTPConfigLoader.set_options(@client, @options) 
    124     @charset = @options["charset"] || XSD::Charset.encoding_label 
     124    @charset = @options["charset"] || XSD::Charset.xml_encoding_label 
    125125    @options.add_hook("charset") do |key, value| 
    126126      @charset = value 
  • trunk/lib/soap/wsdlDriver.rb

    r1580 r1596  
    557557        @wiredump_file_base = value 
    558558      end 
    559       opt["protocol.http.charset"] ||= XSD::Charset.encoding_label 
     559      opt["protocol.http.charset"] ||= XSD::Charset.xml_encoding_label 
    560560      opt["protocol.http.proxy"] ||= Env::HTTP_PROXY 
    561561      opt["protocol.http.no_proxy"] ||= Env::NO_PROXY 
  • trunk/lib/xsd/charset.rb

    r1594 r1596  
    8585  end 
    8686 
    87   def Charset.encoding_label 
     87  def Charset.xml_encoding_label 
    8888    charset_label(@internal_encoding) 
    8989  end