There is anyway to handle malformed XML?
for instance: var loader:URLLoader = URLLoader(event.target); var responseXML:XML = new XML(loader.data); var xmlDoc:XMLDocument = new XMLDocument(responseXML); var decoder:SimpleXMLDecoder = new SimpleXMLDecoder(true); if loader.data comes with malformed xml my entire app crashs... i was wondering if there is somehow to use try and catch to handle errors... or something... any ideas?