Ignore:
Timestamp:
2011/10/25 00:02:55 (13 years ago)
Author:
Seasoft
Message:

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

  • 新しいバージョンの配布ファイルを上書きすることで解決

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

  • 0.11.0 -> 0.12.0
File:
1 edited

Legend:

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

    r20119 r21299  
    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']); 
    223227        if ($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, 
     228            $response = new SOAP_Value($nqn->fqn(), $tqn->fqn(), $response, 
    231229                                       $attrs); 
    232230            if (isset($this->message[$pos]['arrayType'])) { 
     
    234232            } 
    235233        } 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']); 
    240234            // Check if value is an empty array 
    241235            if ($tqn->name == 'Array') { 
    242                 $response =& new SOAP_Value($nqn->fqn(), $tqn->fqn(), 
    243                                             array(), $attrs); 
     236                $response = new SOAP_Value($nqn->fqn(), $tqn->fqn(), array(), 
     237                                           $attrs); 
     238                //if ($pos == 4) var_dump($this->message[$pos], $response); 
    244239            } else { 
    245                 $response = new SOAP_Value($nqn->fqn(), 
    246                                             $tqn->fqn(), 
    247                                             $this->message[$pos]['cdata'], 
    248                                             $attrs); 
     240                $response = new SOAP_Value($nqn->fqn(), $tqn->fqn(), 
     241                                           $this->message[$pos]['cdata'], 
     242                                           $attrs); 
    249243            } 
    250244        } 
     
    257251            $response->mustunderstand = $this->message[$pos]['mustUnderstand']; 
    258252        } 
     253 
    259254        return $response; 
    260255    } 
Note: See TracChangeset for help on using the changeset viewer.