@@ 6906-6912 (lines=7) @@ | ||
6903 | } else { |
|
6904 | $this->message[$pos]['namespace'] = $this->default_namespace; |
|
6905 | } |
|
6906 | if ($this->status == 'header') { |
|
6907 | if ($this->root_header != $pos) { |
|
6908 | $this->responseHeaders .= "<" . (isset($prefix) ? $prefix . ':' : '') . "$name$attstr>"; |
|
6909 | } |
|
6910 | } elseif ($this->root_struct_name != '') { |
|
6911 | $this->document .= "<" . (isset($prefix) ? $prefix . ':' : '') . "$name$attstr>"; |
|
6912 | } |
|
6913 | } |
|
6914 | ||
6915 | /** |
|
@@ 6997-7003 (lines=7) @@ | ||
6994 | } |
|
6995 | ||
6996 | // for doclit |
|
6997 | if ($this->status == 'header') { |
|
6998 | if ($this->root_header != $pos) { |
|
6999 | $this->responseHeaders .= "</" . (isset($prefix) ? $prefix . ':' : '') . "$name>"; |
|
7000 | } |
|
7001 | } elseif ($pos >= $this->root_struct) { |
|
7002 | $this->document .= "</" . (isset($prefix) ? $prefix . ':' : '') . "$name>"; |
|
7003 | } |
|
7004 | // switch status |
|
7005 | if ($pos == $this->root_struct) { |
|
7006 | $this->status = 'body'; |