|
@@ 7134-7139 (lines=6) @@
|
| 7131 |
|
// set self as current value for this depth |
| 7132 |
|
$this->depth_array[$this->depth] = $pos; |
| 7133 |
|
// get element prefix |
| 7134 |
|
if (strpos($name, ':')) { |
| 7135 |
|
// get ns prefix |
| 7136 |
|
$prefix = substr($name, 0, strpos($name, ':')); |
| 7137 |
|
// get unqualified name |
| 7138 |
|
$name = substr(strstr($name, ':'), 1); |
| 7139 |
|
} |
| 7140 |
|
// set status |
| 7141 |
|
if ($name === 'Envelope' && $this->status == '') { |
| 7142 |
|
$this->status = 'envelope'; |
|
@@ 7275-7280 (lines=6) @@
|
| 7272 |
|
$pos = $this->depth_array[$this->depth--]; |
| 7273 |
|
|
| 7274 |
|
// get element prefix |
| 7275 |
|
if (strpos($name, ':')) { |
| 7276 |
|
// get ns prefix |
| 7277 |
|
$prefix = substr($name, 0, strpos($name, ':')); |
| 7278 |
|
// get unqualified name |
| 7279 |
|
$name = substr(strstr($name, ':'), 1); |
| 7280 |
|
} |
| 7281 |
|
|
| 7282 |
|
// build to native type |
| 7283 |
|
if (isset($this->body_position) && $pos > $this->body_position) { |