public function characters($str) { if (isset($this->_currentCommand)) { $this->_currentCommand->characters($str); } else { if (isset($this->_chars)) { $this->_chars = $this->_chars . $str; } else { $this->_chars = $str; } } }