Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 549AF19397 for ; Mon, 11 Apr 2016 15:30:26 +0000 (UTC) Received: (qmail 43175 invoked by uid 500); 11 Apr 2016 15:30:26 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 43098 invoked by uid 500); 11 Apr 2016 15:30:26 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 42982 invoked by uid 99); 11 Apr 2016 15:30:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 15:30:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 93EBB2C1F56 for ; Mon, 11 Apr 2016 15:30:25 +0000 (UTC) Date: Mon, 11 Apr 2016 15:30:25 +0000 (UTC) From: "Harbs (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-35070) "for each" not working in XMLList MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLEX-35070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235292#comment-15235292 ] Harbs commented on FLEX-35070: ------------------------------ Here's what I see: var /** @type {XML} */ item; var foreachiter0_target = list; for (var foreachiter0 in foreachiter0_target) { item = foreachiter0_target[foreachiter0]; this.appendChild(item);} I tried adding an elementName() function to XMLList but it made no difference. > "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(); > 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)