Raise an exception if no XML parser is detected

Closes #42.