flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harbs (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35069) .. notation failing in XML
Date Mon, 11 Apr 2016 09:27:25 GMT
Harbs created FLEX-35069:
----------------------------

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

Mime
View raw message