0 Replies Latest reply on Jan 15, 2010 12:51 PM by Paul Reilly

    [svn:fx-4.0.0] 13531: * Fixed invalid property reference error reporting by postponing the

    Paul Reilly

      Revision: 13531

      Revision: 13531

      Author:   preilly@adobe.com

      Date:     2010-01-15 12:50:59 -0800 (Fri, 15 Jan 2010)

      Log Message:

      ***********

      • Fixed invalid property reference error reporting by postponing the

        validation until prelink when the MxmlDocument's type is available.

       

      QE notes:

      Doc notes:

      Bugs: SDK-22995, SDK-24738

      Reviewer: Gaurav, Darrell

      Tests run: checkintests, mxmlcunit

      Is noteworthy for integration: no

      Code-level description of changes:

       

        modules/compiler/src/java/flex2/compiler_en.properties

       

          Renamed css.StyleDef.InvalidPropertyReference to

          css.StylesContainer.InvalidPropertyReference.

       

        modules/compiler/src/java/flex2/compiler/css/StyleDef.java

       

          Removed InvalidPropertyReference checking from processReference().

       

        modules/compiler/src/java/flex2/compiler/css/StylesContainer.java

       

          Modified setMxmlDocument() to store a reference to it's QName.

       

          Modified validate() to iterate over all style properties and to

          call validatePropertyReferences() if mxmlDocumentQName is not

          null.

       

      Ticket Links:

      ***********

          http://bugs.adobe.com/jira/browse/SDK-22995

          http://bugs.adobe.com/jira/browse/SDK-24738

       

      Modified Paths:

      **************

          flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler/css/StyleDef.java

          flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java

          flex/sdk/branches/4.0.0/modules/compiler/src/java/flex2/compiler_en.properties