Unnecessary $this->scanner->next() call when self-closing tag found