Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35107

Error setting property of class when the type is XML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache FalconJX 0.6.0
    • Apache FalconJX 0.7.0
    • FlexJS
    • None

    Description

      Take the following code:
      import org.apache.flex.events.Event;
      public class DataEvent extends Event
      {
      public function DataEvent(type:String)

      { super(type); }

      public var xmlData:XML;
      }
      and somewhere else:
      var xml:XML = <foo/>;
      var ev:DataEvent = new DataEvent("Data");
      ev.xmlData = xml;

      The will compile to:
      ev.setChild('xmlData', xml);

      It appears that it's treating the class as XML although it's just an XML property in an unrelated class.

      Attachments

        Activity

          People

            aharui Alex Harui
            harbs Harbs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: