tags:

views:

180

answers:

1

I'm working with eclipse, blazeds and Flex Plugin, and every time I create a Web Dynamic Project then add a Flex Project Nature to it this error: "An unknown item is declared as the root of your mxml document" appears just as the perspective view changes and I click on the design mode. As far as I know the only lines of code written on the screen are the standard in any other program, but I'll put here anyway so you can have a go at it if there's something realyy wrong and I didn't see:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

</mx:Application>
+2  A: 

Hi Julio,

Try this...

  1. copy the code from IDE to some text editor eg. notepad and try to see if there is any junk character there?

  2. If you are using win XP SP 2.0, then update with SP 3.0

Generally the problem occurs when junk characters occur in the lines or the tags are not properly closed.

Bhupi
I second this, I've seen it happen quite a few times. Especially with misconfigured IDE's or buggy editors.
macke
what does it have to do with XP sp2/3?
Amarghosh
I third this. Happens to me not infrequently on Windows 7
Mike Sickler