XML Parse Error Exception #204

Fixes #204 
Throws exception if the XML is not well-formed (due to user directly modifying data.xml)
Exception handling in the upper layers have not been implemented, I want to confirm that I implement the exception throwing correctly first