Re: Magic 1st Spell Demo: Unrecognized rooot element [system]

Stephen McConnell <[email protected]>
Newsgroups gmane.comp.jakarta.avalon.user
Message-ID <[email protected]>
Cameron Taggart wrote:

> Hi guys.  I like the new web site look.  I am interested in Magic for 
> building projects, but I'm having trouble casting my first spell.  I 
> downloaded the demo.zip from
> http://avalon.apache.org/central/tools/magic/spells/index-creation.html
> 
> It looks like it is having problems parsing/binding the xml file 
> "index.xml".  Here is the ant output:
> 
> C:\projects\magic\demo\gizmo>ant
> Buildfile: build.xml
> import: C:\projects\magic\demo\index.xml
> 
> BUILD FAILED
> C:\projects\magic\demo\index.xml: Unrecognized rooot element [system].

Bugger, bugger, bugger!
My fault. Change the name of the root element from <system> and 
</system> to <index> and </index>.

Cheers, Steve.

-- 

|---------------------------------------|
| Magic by Merlin                       |
| Production by Avalon                  |
|                                       |
| http://avalon.apache.org              |
|---------------------------------------|
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.