You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Harui (JIRA)" <ji...@apache.org> on 2016/07/12 06:20:11 UTC

[jira] [Resolved] (FLEX-35107) Error setting property of class when the type is XML

     [ https://issues.apache.org/jira/browse/FLEX-35107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Harui resolved FLEX-35107.
-------------------------------
       Resolution: Fixed
         Assignee: Alex Harui
    Fix Version/s: Apache FalconJX 0.7.0

263918bfe12d8369523644f2c26d1f00fb8aab99

> Error setting property of class when the type is XML
> ----------------------------------------------------
>
>                 Key: FLEX-35107
>                 URL: https://issues.apache.org/jira/browse/FLEX-35107
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FlexJS
>    Affects Versions: Apache FalconJX 0.6.0
>            Reporter: Harbs
>            Assignee: Alex Harui
>             Fix For: Apache FalconJX 0.7.0
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)