Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Error when trying to make a New XML file (Error when trying to make a New XML file )
icon9.gif  Error when trying to make a New XML file [message #704120] Thu, 28 July 2011 09:40 Go to next message
JulyDerek is currently offline JulyDerekFriend
Messages: 4
Registered: July 2011
Junior Member

When I try to build a new XML file by File/New/Other/XML File, I keep getting the error in the Console - "Error in an XML file: aborting build."

The file has the following in it :-
<?xml version="1.0" encoding="UTF-8"?>

And when I hover on the red-x over the file, I get (1) Premature end of file & (2) "Error parsing XML:No element found"

This error continues even after I have entered some valid code in this file.

I have attached the screenshot of the same.

Please help!!
Re: Error when trying to make a New XML file [message #704131 is a reply to message #704120] Thu, 28 July 2011 09:44 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
This is ADT please ask there why it is not working (maybe they reuse WST
for XML-Editing). JDT certainly is the wrong newsgroup.

Tom

Am 28.07.11 11:40, schrieb JulyDerek:
> When I try to build a new XML file by File/New/Other/XML File, I keep getting the error in the Console - "Error in an XML file: aborting build."
>
> The file has the following in it :-
> <?xml version="1.0" encoding="UTF-8"?>
>
> And when I hover on the red-x over the file, I get (1) Premature end of file & (2) "Error parsing XML:No element found"
>
> This error continues even after I have entered some valid code in this file.
>
> I have attached the screenshot of the same.
>
> Please help!!
Previous Topic:Error when trying to make a New XML file
Next Topic:triggering acceleo from a java method instead of file
Goto Forum:
  


Current Time: Fri Apr 26 02:30:06 GMT 2024

Powered by FUDForum. Page generated in 0.03021 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top