1 Reply Latest reply on Oct 12, 2010 10:33 PM by flex2008

    Validating xmls in flex

    flex2008 Level 3

      I have a requirement in which i need to make sure that an xml has a valid structure.
      This is the code snippet that i am using right now


          new XML(xmlString);//xmlstring is the xml to be validated in string format.
          Alert.show("Invalid xml")


      This logic works for cases in which tags are mismatched and all.But fails in cases like <######/> and other similar cases where special characters come inside the tag.


      Anyone knows how to take into account these cases?