Make sure our xml is valid.