I received error in my xml file. \"Incorrect line ending: found carriage return (\\r) without corresponding newline (\\n).
Cut your whole code, save the xml, paste the code again in the file and save. It also solves at times. Though not a standard way, but works.