wrong $this->scanner->next() call.
Merge pull request #9 from ngreduce/master

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