|
@@ 625-630 (lines=6) @@
|
| 622 |
|
} |
| 623 |
|
|
| 624 |
|
// get element prefix |
| 625 |
|
if(preg_match("/:/",$name)){ |
| 626 |
|
// get ns prefix |
| 627 |
|
$prefix = substr($name,0,strpos($name,":")); |
| 628 |
|
// get unqualified name |
| 629 |
|
$name = substr(strstr($name,":"),1); |
| 630 |
|
} |
| 631 |
|
//$this->debug("name: $name, prefix: $prefix"); |
| 632 |
|
|
| 633 |
|
// find status, register data |
|
@@ 2180-2185 (lines=6) @@
|
| 2177 |
|
$this->depth_array[$depth] = $pos; |
| 2178 |
|
|
| 2179 |
|
// get element prefix |
| 2180 |
|
if(preg_match("/:/",$name)){ |
| 2181 |
|
// get ns prefix |
| 2182 |
|
$prefix = substr($name,0,strpos($name,":")); |
| 2183 |
|
// get unqualified name |
| 2184 |
|
$name = substr(strstr($name,":"),1); |
| 2185 |
|
} |
| 2186 |
|
//$this->debug("name: $name, prefix: $prefix"); |
| 2187 |
|
|
| 2188 |
|
// loop through atts, logging ns declarations |
|
@@ 2788-2793 (lines=6) @@
|
| 2785 |
|
// set self as current value for this depth |
| 2786 |
|
$this->depth_array[$this->depth] = $pos; |
| 2787 |
|
// get element prefix |
| 2788 |
|
if(strpos($name,":")){ |
| 2789 |
|
// get ns prefix |
| 2790 |
|
$prefix = substr($name,0,strpos($name,":")); |
| 2791 |
|
// get unqualified name |
| 2792 |
|
$name = substr(strstr($name,":"),1); |
| 2793 |
|
} |
| 2794 |
|
// set status |
| 2795 |
|
if($name == "Envelope"){ |
| 2796 |
|
$this->status = "envelope"; |