Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-text-dev] Problem with TextEditor usage for simple Eclipse plugin

Hi,

On Thu, Aug 17, 2017 at 2:25 PM, Patrick Mulder <mulder.patrick@xxxxxxxxx> wrote:
On Thu, Aug 17, 2017 at 2:03 PM, Vlad Dumitrescu <vladdu55@xxxxxxxxx> wrote:
Hi!

On Thu, Aug 17, 2017 at 2:00 PM, Patrick Mulder <mulder.patrick@xxxxxxxxx> wrote:
A small confusion remains however: I still get an error "Content is not allowed in prolog." see screenshot attached. (The source is coming from a file that I imported in Eclipse on Windows, but I don't understand what triggers this problem, and how to make it dissapear)

This message is from a XML parser, some xml file has content before "<?xml" -- maybe your plugin.xml?


Yes, this is the direction to which a google search points me to as well. But how could I check that/where the XML plugin is loaded? And it's hard to understand where this error can come from in an Eclipse plugin context (most problems from google point towards web server development)

If the culprit is plugin.xml, then it is the PDE that complains when it tries to read and parse it. Check the file, it may also have a BOM at the start, which is invisible. Cut all content, delete the file, recreate it and paste the content. That fixed it for me when I had this problem.

regards,
Vlad
 

Back to the top