0 Replies Latest reply on Dec 27, 2009 11:02 PM by Prateek Goyal

    Problem with XML reading

    Prateek Goyal
      I am working on an AIR application for reading an XML file. The XML file starts with the tag.
      <model name="telecom:telecomnewmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
      There is a similar xmlns tag attribute in WindowsApplication as

      <mx:WindowedApplication

       

      xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

      due to the same xml namespace variable (xmlns) there is an error

       

      "TypeError: Error #1010: A term is undefined and has no properties."

       

      if the xmlns variable in XML is changed or the xmlns attribute is deleted in the XML code the expected output is shown.

      How to deal with the ambiguity as the variable xmlns cannot be changed being default system defined.