If you are not editing Ant files, you can also go to Tools > Options > Languages > XML/Text Languages > Ant > Options and turn off the option Identify Ant files on open. Then your .xml files will not be assumed to be Ant. You will still need to add .xml to def_xml_no_schema_list.