0 Replies Latest reply on Oct 6, 2008 11:50 AM by (Carol_Frampton)

    [svn] 3491: SDK-17184, SDK-17183, SDK-17181.

      Revision: 3491
      Author: cframpto@adobe.com
      Date: 2008-10-06 12:50:02 -0700 (Mon, 06 Oct 2008)

      Log Message:
      -----------
      SDK-17184, SDK-17183, SDK-17181.

      1. parseBindingExpression() - work on two-way bind parsing. No lead, no tail, no empty content, and no nested binding expressions are allowed. {name}@{domain} is an error in Flex 4. The @ needs to be quoted as in {name}\@{domain} if the intent is the binding expression (name) + @ + (domain).
      2. For the Binding tag, the source and destination can not be the same.
      3. For the Binding tag, if twoWay is a binding expression, the error 'Error: Data binding expressions not supported with attributes processed at compile time.' will be logged.

      QA: yes
      Reviewer: Paul

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17184
      http://bugs.adobe.com/jira/browse/SDK-17183
      http://bugs.adobe.com/jira/browse/SDK-17181

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceCompiler.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/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties