0 Replies Latest reply on Oct 9, 2008 4:30 AM by (Carol_Frampton)

    [svn] 3535: 1) SDK-17199.

      Revision: 3535
      Author: cframpto@adobe.com
      Date: 2008-10-09 05:30:35 -0700 (Thu, 09 Oct 2008)

      Log Message:
      -----------
      1) SDK-17199. Tweak bind expression parsing so if when looking for two-way bind, if @ found but not followed by {, it starts at the beginning of the string to look for one-way bind. Best way to test is to use E4X expressions within a one-way bind expression.
      2) Update compatibility-version to allow 3.0 to be specified. Change CURRENT_VERSION to 4.0. If compatibility version < 4 then '@{' will not be recognized as a two-way bind expression.
      4) SDK-17247. Binding tag, only check source and destination are equal if both attributes are specified.
      5) Paul should fix commented out code in SyntaxTreeDumper.isMetaDataEmpty() which caused NPE. I'm not sure of the intent. It's a class used only for debugging so it's okay to comment it out for now.

      QA: compatability tests seem to be missing since it wasn't possible to specify 3.0
      Doc: Can use compatability-version to avoid recognition of two-way inline bind. For example {name}@{domain} in v3 would have to be changed to {name}\@{domain} for v4 if two-way bind isn't disabled.

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17199
      http://bugs.adobe.com/jira/browse/SDK-17247

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingFirstPassE valuator.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/MxmlConfiguration.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/analyzer/SyntaxAnalyzer.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/AbstractBuilder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/TextParser.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/tools/SyntaxTreeDumper.java