raise a Parser error when xml parsing fails
test that Parser errors are thrown for faulty XML