Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » XML Editor "unsupported content type in editor" in Eclipse 3.6
XML Editor "unsupported content type in editor" in Eclipse 3.6 [message #548879] Fri, 23 July 2010 11:05 Go to next message
Bruno Medeiros is currently offline Bruno MedeirosFriend
Messages: 16
Registered: July 2009
Junior Member
Hello, I recently started using Helios/Eclipse 3.6, and now whenever I
open a file with a content type that is a child of the XML content type
(such as opening plugin.xml, feature.xml, or even just files without the
..xml extension, but which are xml) I get the message "Unsupported
content type in editor. To associate file extension with a supported
content type, please see Content Type Preference Page" and just a basic
text editor is opened.
This happens even with a fresh install of Eclipse, and fresh workspace.
Is this a bug, and is there any workaround?

--
Bruno Medeiros - Software Developer
Re: XML Editor "unsupported content type in editor" in Eclipse 3.6 [message #549323 is a reply to message #548879] Mon, 26 July 2010 12:41 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 7/23/2010 7:05 AM, Bruno Medeiros wrote:
> Hello, I recently started using Helios/Eclipse 3.6, and now whenever I
> open a file with a content type that is a child of the XML content type
> (such as opening plugin.xml, feature.xml, or even just files without the
> .xml extension, but which are xml) I get the message "Unsupported
> content type in editor. To associate file extension with a supported
> content type, please see Content Type Preference Page" and just a basic
> text editor is opened.
> This happens even with a fresh install of Eclipse, and fresh workspace.
> Is this a bug, and is there any workaround?

For the plug-in and feature files, this is a workaround for
inconsistencies with the text document implementation we have in WTP
according to bug 307524. It shouldn't have affected normal XML files as
I understand it, and indeed they seem to be fine when I try them. These
files without the .xml filename extension, they do have some sort of
filename extension, right?

https://bugs.eclipse.org/bugs/show_bug.cgi?id=307524#c17

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: XML Editor "unsupported content type in editor" in Eclipse 3.6 [message #549618 is a reply to message #549323] Tue, 27 July 2010 11:36 Go to previous messageGo to next message
Bruno Medeiros is currently offline Bruno MedeirosFriend
Messages: 16
Registered: July 2009
Junior Member
On 26/07/2010 13:41, Nitin Dahyabhai wrote:
> On 7/23/2010 7:05 AM, Bruno Medeiros wrote:
>> Hello, I recently started using Helios/Eclipse 3.6, and now whenever I
>> open a file with a content type that is a child of the XML content type
>> (such as opening plugin.xml, feature.xml, or even just files without the
>> .xml extension, but which are xml) I get the message "Unsupported
>> content type in editor. To associate file extension with a supported
>> content type, please see Content Type Preference Page" and just a basic
>> text editor is opened.
>> This happens even with a fresh install of Eclipse, and fresh workspace.
>> Is this a bug, and is there any workaround?
>
> For the plug-in and feature files, this is a workaround for
> inconsistencies with the text document implementation we have in WTP
> according to bug 307524. It shouldn't have affected normal XML files as
> I understand it, and indeed they seem to be fine when I try them. These
> files without the .xml filename extension, they do have some sort of
> filename extension, right?
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=307524#c17
>

Yes, they have an extension. I've opened a bug report, as something does
indeed seem to be wrong:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=320996

But are saying that for the particular cases of the PDE contributed
content types (plugin.xml, feature.xml, *.product, site.xml, etc.), this
behavior is expected, caused by that workaround?


--
Bruno Medeiros
Re: XML Editor "unsupported content type in editor" in Eclipse 3.6 [message #549741 is a reply to message #549618] Tue, 27 July 2010 18:41 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

On 7/27/2010 7:36 AM, Bruno Medeiros wrote:
> But are saying that for the particular cases of the PDE contributed
> content types (plugin.xml, feature.xml, *.product, site.xml, etc.), this
> behavior is expected, caused by that workaround?

Yes.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Unusual behavior of code assist in eclipse helios
Next Topic:autocomplete doesn't work with dojo
Goto Forum:
  


Current Time: Tue Apr 23 12:18:46 GMT 2024

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

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

Back to the top