[ 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)