Make meaningful error message for bad xml