0 Replies Latest reply on Jan 22, 2009 7:18 AM by (Paul_Reilly)

    [svn] 4616: * Fixed using data binding with the root of an XML or XMLList tag.

      Revision: 4616
      Author: preilly@adobe.com
      Date: 2009-01-22 07:18:31 -0800 (Thu, 22 Jan 2009)

      Log Message:
      -----------
      * Fixed using data binding with the root of an XML or XMLList tag.

      tests Passed: checkintests

      Needs QA: YES

      Needs DOC: NO

      Bug fixes: SDK-16804

      API Change: NO

      Reviewer: Carol

      Code-level description of changes:

      Modified analyze(XMLNode node) by inlining the checkFormat() method
      and allowing for a single CDATA node when it's a data binding
      expression. Previously, we were logging an error for a single CDATA
      root node before we got to the code that checked for a data binding
      expression. Nice catch Carol.

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

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLBuilder.java
      flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/XMLListBuilder.java