Skip to main content
Participant
August 29, 2011
Question

design.xml format for FB 4.5

  • August 29, 2011
  • 1 reply
  • 1440 views

It would be great if somebody could tell how design.xml should look like so that the design mode wouldn't break on FB4.5? The old format workds fine with FLex 3, FB4, but not with FB4.5. After I add the component I created to the application and swithc to design mode I get this warning:

The XML version of design.xml and the expected XML version do not match.

Some Design Mode features will not be available for components defined within the SWC Expected XML version : 2

Actual XML version:  Unknown

I know this topic was discussed here: http://forums.adobe.com/message/3842212

However there is no answer to it. Changing XML version from 1 to 2 didn't actually solved the problem - this error was gone, bet all the components appeared in "custom" folder and namespaces were not working at all. So I guess design.xml was simply ignored.

In case there are ways to solve this in some different way, I would appreciate some tips.

Thanks a lot!

This topic has been closed for replies.

1 reply

Participating Frequently
January 19, 2012

I found the solution at the end of the post you linked yourself I hope it helps

israel212005 wrote:

We had this issue and seemingly have fixed it by setting the design version to 2 as well as specifying component names in the component tags by entering the full package structure versus just the component name alone.

Example:

     <component name="com.company.product.myComponent" />

     Instead of:

     <component name="myComponent" />