Error is now displayed if the xml does not parse.

this fixes #1 on github