Ignore:
Timestamp:
2011/10/31 13:54:41 (12 years ago)
Author:
kotani
Message:

#1521 (PEAR::SOAP 配布と異なる部分がある)

  • 新しいバージョンの配布ファイルを上書きすることで解決
  • →2.11.4には含めないため一旦コミットキャンセル

#1522 (PEAR::SOAP をバージョンアップ)

  • 0.11.0 -> 0.12.0
  • →2.11.4には含めないため一旦コミットキャンセル
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_11-dev/data/module/SOAP/Parser.php

    r21299 r21304  
    221221 
    222222        // Add current node's value. 
    223         $nqn = new QName($this->message[$pos]['name'], 
    224                          $this->message[$pos]['namespace']); 
    225         $tqn = new QName($this->message[$pos]['type'], 
    226                          $this->message[$pos]['type_namespace']); 
    227223        if ($response) { 
    228             $response = new SOAP_Value($nqn->fqn(), $tqn->fqn(), $response, 
     224            $nqn = new QName($this->message[$pos]['name'], 
     225                             $this->message[$pos]['namespace']); 
     226            $tqn = new QName($this->message[$pos]['type'], 
     227                             $this->message[$pos]['type_namespace']); 
     228            $response = new SOAP_Value($nqn->fqn(), 
     229                                       $tqn->fqn(), 
     230                                       $response, 
    229231                                       $attrs); 
    230232            if (isset($this->message[$pos]['arrayType'])) { 
     
    232234            } 
    233235        } else { 
     236            $nqn = new QName($this->message[$pos]['name'], 
     237                             $this->message[$pos]['namespace']); 
     238            $tqn = new QName($this->message[$pos]['type'], 
     239                             $this->message[$pos]['type_namespace']); 
    234240            // Check if value is an empty array 
    235241            if ($tqn->name == 'Array') { 
    236                 $response = new SOAP_Value($nqn->fqn(), $tqn->fqn(), array(), 
    237                                            $attrs); 
    238                 //if ($pos == 4) var_dump($this->message[$pos], $response); 
     242                $response =& new SOAP_Value($nqn->fqn(), $tqn->fqn(), 
     243                                            array(), $attrs); 
    239244            } else { 
    240                 $response = new SOAP_Value($nqn->fqn(), $tqn->fqn(), 
    241                                            $this->message[$pos]['cdata'], 
    242                                            $attrs); 
     245                $response = new SOAP_Value($nqn->fqn(), 
     246                                            $tqn->fqn(), 
     247                                            $this->message[$pos]['cdata'], 
     248                                            $attrs); 
    243249            } 
    244250        } 
     
    251257            $response->mustunderstand = $this->message[$pos]['mustUnderstand']; 
    252258        } 
    253  
    254259        return $response; 
    255260    } 
Note: See TracChangeset for help on using the changeset viewer.