Do not return xml from get_xml if validation fails.