|
@@ 7107-7112 (lines=6) @@
|
| 7104 |
|
// set self as current value for this depth |
| 7105 |
|
$this->depth_array[$this->depth] = $pos; |
| 7106 |
|
// get element prefix |
| 7107 |
|
if (strpos($name, ':')) { |
| 7108 |
|
// get ns prefix |
| 7109 |
|
$prefix = substr($name, 0, strpos($name, ':')); |
| 7110 |
|
// get unqualified name |
| 7111 |
|
$name = substr(strstr($name, ':'), 1); |
| 7112 |
|
} |
| 7113 |
|
// set status |
| 7114 |
|
if ($name === 'Envelope' && $this->status == '') { |
| 7115 |
|
$this->status = 'envelope'; |
|
@@ 7249-7254 (lines=6) @@
|
| 7246 |
|
$pos = $this->depth_array[$this->depth--]; |
| 7247 |
|
|
| 7248 |
|
// get element prefix |
| 7249 |
|
if (strpos($name, ':')) { |
| 7250 |
|
// get ns prefix |
| 7251 |
|
$prefix = substr($name, 0, strpos($name, ':')); |
| 7252 |
|
// get unqualified name |
| 7253 |
|
$name = substr(strstr($name, ':'), 1); |
| 7254 |
|
} |
| 7255 |
|
|
| 7256 |
|
// build to native type |
| 7257 |
|
if (isset($this->body_position) && $pos > $this->body_position) { |