Improve error emitting in bad xml parsing
Improve error handling on xml parse
Merge pull request #3 from pgilad/patch-2

Improve error emitting in bad xml parsing