Since the Summer '18 patch the jQuery parseXML() is now throwing a "Invalid XML: .." error message. Sample code:
try{
var xml = "<node>test</node>";
var xmlDoc = $.parseXML(xml);
console.log(xmlDoc);
}catch(e){
console.error(e.message);
}
Console output:
Invalid XML: <node>test</node>
The jQuery version we are using is v2.2.4 which I believe is the most Locker Service compatible version.