@@ 7227-7233 (lines=7) @@ | ||
7224 | } else { |
|
7225 | $this->message[$pos]['namespace'] = $this->default_namespace; |
|
7226 | } |
|
7227 | if ($this->status === 'header') { |
|
7228 | if ($this->root_header != $pos) { |
|
7229 | $this->responseHeaders .= '<' . (isset($prefix) ? $prefix . ':' : '') . "$name$attstr>"; |
|
7230 | } |
|
7231 | } elseif ($this->root_struct_name != '') { |
|
7232 | $this->document .= '<' . (isset($prefix) ? $prefix . ':' : '') . "$name$attstr>"; |
|
7233 | } |
|
7234 | } |
|
7235 | ||
7236 | /** |
|
@@ 7325-7331 (lines=7) @@ | ||
7322 | } |
|
7323 | ||
7324 | // for doclit |
|
7325 | if ($this->status === 'header') { |
|
7326 | if ($this->root_header != $pos) { |
|
7327 | $this->responseHeaders .= '</' . (isset($prefix) ? $prefix . ':' : '') . "$name>"; |
|
7328 | } |
|
7329 | } elseif ($pos >= $this->root_struct) { |
|
7330 | $this->document .= '</' . (isset($prefix) ? $prefix . ':' : '') . "$name>"; |
|
7331 | } |
|
7332 | // switch status |
|
7333 | if ($pos == $this->root_struct) { |
|
7334 | $this->status = 'body'; |