|
@@ 5459-5461 (lines=3) @@
|
| 5456 |
|
public function character_data($parser, $data) |
| 5457 |
|
{ |
| 5458 |
|
$pos = isset($this->depth_array[$this->depth]) ? $this->depth_array[$this->depth] : 0; |
| 5459 |
|
if (isset($this->message[$pos]['cdata'])) { |
| 5460 |
|
$this->message[$pos]['cdata'] .= $data; |
| 5461 |
|
} |
| 5462 |
|
if ($this->documentation) { |
| 5463 |
|
$this->documentation .= $data; |
| 5464 |
|
} |
|
@@ 7484-7486 (lines=3) @@
|
| 7481 |
|
*/ |
| 7482 |
|
public function buildVal($pos) |
| 7483 |
|
{ |
| 7484 |
|
if (!isset($this->message[$pos]['type'])) { |
| 7485 |
|
$this->message[$pos]['type'] = ''; |
| 7486 |
|
} |
| 7487 |
|
$this->debug('in buildVal() for ' . $this->message[$pos]['name'] . "(pos $pos) of type " . $this->message[$pos]['type']); |
| 7488 |
|
// if there are children... |
| 7489 |
|
if ($this->message[$pos]['children'] != '') { |