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 05:40 Go to next message
JulyDerek is currently offline JulyDerek
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 05:44 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5292
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: Wed Aug 27 15:17:57 EDT 2014

Powered by FUDForum. Page generated in 0.02122 seconds