Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-35141

[FlexJS] XML literals don't add quotes when interpolated to values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Apache FalconJX 0.8.0
    • FalconJX
    • None

    Description

      These lines work on flash but fail on JS:

      var propValue:String = "myValue";
      var myXml:XML = <Element propName=

      {propValue}

      />;
      var readValue:String = myXml.@propName.toString();

      Example app can be found here.

      https://paste.apache.org/eXiq

      Attachments

        Activity

          People

            Unassigned Unassigned
            yishayw Yishay Weiss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: