[ 
https://issues.apache.org/jira/browse/FLEX-35113?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Harui resolved FLEX-35113.
-------------------------------
       Resolution: Fixed
    Fix Version/s: Apache FalconJX 0.8.0

This seems to be working

> Error evaluating XML variable
> -----------------------------
>
>                 Key: FLEX-35113
>                 URL: https://issues.apache.org/jira/browse/FLEX-35113
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: FalconJX
>    Affects Versions: Apache FalconJX 0.6.0
>            Reporter: Harbs
>            Assignee: Alex Harui
>             Fix For: Apache FalconJX 0.8.0
>
>
> Consider the following code:
> public class LocaleManager
> {
>       public static function get localeStrings():Object
>       {
>               return
>               {
>                       ADD_TEXT_HERE : "Add text here"
>               }
>       }
> }
> public class MyClass
> {
>       private static const txtStr:String = 
> LocaleManager.localeStrings.ADD_TEXT_HERE;
>       public static const sampleXML:XML = <text>
>               <content>{txtStr}</content>
>               </text>;
> }
> sampleXML should compile on the javascript side to:
> MyClass.sampleXML = new XML( '<text><content> + MyClass.txtStr + 
> '</content,</text>');
> While in fact the MyClass.txtStr falls out, and it evaluates to NaN in 
> Javascript.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to