I have a flex application using HTTPService get get XML from tomcat. We have some legacy classes that don't know about flex and try to redirect to another screen by passing the raw html for the page.
Is there any way to check to see if the results are valid xml? I could look for specific things, but I'm wondering if there is a way to verify that the results are XML. Event.results are not null, it's just <html>blah blah blah</html> So it kinda looks like xml
I dont think we have any API classes in ActionScript to validate XML files, but the best way would be to validate on the server side.