[ 
https://issues.apache.org/jira/browse/FLEX-35069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15235257#comment-15235257
 ] 

Alex Harui commented on FLEX-35069:
-----------------------------------

I think you are saying it works in MXMLC.

I'm guessing the Falcon parser wasn't written to handle it since it isn't in 
here: 
http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9b90204-7e6c.html

Parsing bugs are a pain.  I'd prefer not to have to deal with it unless we see 
that others are using it.


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

Reply via email to