You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Harbs (JIRA)" <ji...@apache.org> on 2016/04/11 14:01:25 UTC
[jira] [Reopened] (FLEX-35070) "for each" not working in XMLList
[ https://issues.apache.org/jira/browse/FLEX-35070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harbs reopened FLEX-35070:
--------------------------
It *is* a problem. Instead of the behavior of E4X where "for each" iterates over the XML elements of the XMLList, it iterates over ALL properties and methods of the XMLList object
> "for each" not working in XMLList
> ---------------------------------
>
> Key: FLEX-35070
> URL: https://issues.apache.org/jira/browse/FLEX-35070
> Project: Apache Flex
> Issue Type: Bug
> Components: FalconJX
> Affects Versions: Apache FalconJX 0.6.0
> Reporter: Harbs
>
> I don't have a full test case right now, but I believe the following will fail.
> var newList:XMLList = new XMLList();
> newList.appendChild(<foo/>);
> var xmlItem:XML;
> for each(xmlItem in oldList)
> newList.appendChild(xmlItem);
> If necessary, I can put together a (non)working test case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)