rem: var object = Xml.readFromString(clean); return object.toSource().replace(/\\/g, "\\\\").replace(/'/g, "\\'"); 
add: try { return Xml.readFromString(clean).toSource(); } catch (ex) { app.debug(xml); } return {}.toSource(); 
context:    var metadata = function(xml) {      var clean = xml.replace(/[\x00-\x08\x0b\x0c\x0e-\x1f]/g, "");      var object = Xml.readFromString(clean);      return object.toSource().replace(/\\/g, "\\\\").replace(/'/g, "\\'");   };
meta: 993	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/993/2578fcd36f6afe81c2eb6139fe51d41c496bd131/Global.js/buggy/updater/Global/Global.js