protected function parseText(dom\text $node, $bTrim = true) { if (!$this->allowText()) { $this->throwException('Text node not allowed here', array($node->asToken())); } return $bTrim ? $this->trimString($node->getValue()) : $node->getValue(); }