PDA

View Full Version : unexpected CDATA exception after switching to different SDK


kminev
04-21-2009, 11:32 PM
Hi,

I recently switched my project to use flex sdk 3.2 and also configured it to require flash player 10, after making this change now my projects has compile error: unexpected CDATA line 20 and this is all it tells me no location specified where the error occurs.

Any insights will be extremely appreciated.

thanks in advance.

wvxvw
04-22-2009, 12:03 AM
You may have your MXML class with inline XML declaration - that'd make MXML parser fail. I.e. something like this:
<mx:Application ...>
<mx:Script>
<![CDATA[
private var xml:XML = <![CDATA[ foo ]]>;
]]>
</mx:Script>
</mx:Application>
See if it's not your case.

kminev
04-22-2009, 12:15 AM
This is not the problem...it is a brand new project I don't have much in it.

wvxvw
04-22-2009, 12:43 AM
Hm... then do you have any CDATAs in it? maybe you just haven't formatted them right?

kminev
04-22-2009, 02:37 PM
I think it is something to do with my sdk setup

fx.barrett
04-22-2009, 04:05 PM
If you'd post some code or at least try to explain how you configured your project ( what did you set or disable ) then I'm sure that your chances of getting a solution will grow... We really can't guess what you have there...

kminev
04-22-2009, 06:07 PM
Thanks for everyone's input. I will look into my sdk configuration.