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 D144619266 for ; Mon, 11 Apr 2016 15:03:25 +0000 (UTC) Received: (qmail 47598 invoked by uid 500); 11 Apr 2016 15:03:25 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 47532 invoked by uid 500); 11 Apr 2016 15:03:25 -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 47513 invoked by uid 99); 11 Apr 2016 15:03:25 -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:03:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6FAE72C1F5A for ; Mon, 11 Apr 2016 15:03:25 +0000 (UTC) Date: Mon, 11 Apr 2016 15:03:25 +0000 (UTC) From: "Harbs (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLEX-35069) .. notation failing in XML 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-35069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235232#comment-15235232 ] Harbs commented on FLEX-35069: ------------------------------ I don't remember where I found it. It's the only way I know of specifying a uri instead of a prefix as a qualified name. I doubt many people use this, but it's definitely valid in ActionScript. I'm not sure what exactly it should even compile into. > .. notation failing in XML > -------------------------- > > Key: FLEX-35069 > URL: https://issues.apache.org/jira/browse/FLEX-35069 > Project: Apache Flex > Issue Type: Bug > Components: FalconJX > Affects Versions: Apache FalconJX 0.6.0 > Reporter: Harbs > > The following code fails: > var catalog_item = xml..('http://ns.adobe.com/mxml/2009')::catalog_item[0]; > The compiler gives the following message: > [mxmlc] Error: '..' is not allowed here > This should be valid E4X. I'm not sure what it is about this expression which is failing. The following does seem to be accepted: > var script:XML = xml..script[0].children()[0]; -- This message was sent by Atlassian JIRA (v6.3.4#6332)