|
@@ 7279-7289 (lines=11) @@
|
| 7276 |
|
} elseif (isset($this->message[$pos]['cdata']) && trim($this->message[$pos]['cdata']) != '') { |
| 7277 |
|
if (isset($this->message[$pos]['type'])) { |
| 7278 |
|
$this->message[$pos]['xattrs']['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$pos]['type'], isset($this->message[$pos]['type_namespace']) ? $this->message[$pos]['type_namespace'] : ''); |
| 7279 |
|
} else { |
| 7280 |
|
$parent = $this->message[$pos]['parent']; |
| 7281 |
|
if (isset($this->message[$parent]['type']) && ($this->message[$parent]['type'] === 'array') |
| 7282 |
|
&& isset($this->message[$parent]['arrayType']) |
| 7283 |
|
) { |
| 7284 |
|
$this->message[$pos]['xattrs']['!'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$parent]['arrayType'], |
| 7285 |
|
isset($this->message[$parent]['arrayTypeNamespace']) ? $this->message[$parent]['arrayTypeNamespace'] : ''); |
| 7286 |
|
} else { |
| 7287 |
|
$this->message[$pos]['xattrs']['!'] = $this->message[$pos]['cdata']; |
| 7288 |
|
} |
| 7289 |
|
} |
| 7290 |
|
} |
| 7291 |
|
$this->message[$pos]['result'] = $this->message[$pos]['xattrs']; |
| 7292 |
|
// set value of simpleType (or nil complexType) |
|
@@ 7299-7309 (lines=11) @@
|
| 7296 |
|
$this->message[$pos]['xattrs']['!'] = null; |
| 7297 |
|
} elseif (isset($this->message[$pos]['type'])) { |
| 7298 |
|
$this->message[$pos]['result'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$pos]['type'], isset($this->message[$pos]['type_namespace']) ? $this->message[$pos]['type_namespace'] : ''); |
| 7299 |
|
} else { |
| 7300 |
|
$parent = $this->message[$pos]['parent']; |
| 7301 |
|
if (isset($this->message[$parent]['type']) && ($this->message[$parent]['type'] === 'array') |
| 7302 |
|
&& isset($this->message[$parent]['arrayType']) |
| 7303 |
|
) { |
| 7304 |
|
$this->message[$pos]['result'] = $this->decodeSimple($this->message[$pos]['cdata'], $this->message[$parent]['arrayType'], |
| 7305 |
|
isset($this->message[$parent]['arrayTypeNamespace']) ? $this->message[$parent]['arrayTypeNamespace'] : ''); |
| 7306 |
|
} else { |
| 7307 |
|
$this->message[$pos]['result'] = $this->message[$pos]['cdata']; |
| 7308 |
|
} |
| 7309 |
|
} |
| 7310 |
|
|
| 7311 |
|
/* add value to parent's result, if parent is struct/array |
| 7312 |
|
$parent = $this->message[$pos]['parent']; |