tags:

views:

23

answers:

1

We have a java server running an eclipse infocenter. The setup is standard; pretty much according to the help. One of our plugin helps have links to a XSD file and we want to be able to display that. The problem is that the XSD schema is shown as text/plain instead of text/xml.

How can we set the content type of the filetypes?

Edit: The infocenter requires the plugins:

org.apache.lucene
org.eclipse.core.runtime
org.eclipse.help
org.eclipse.help.appserver
org.eclipse.help.base
org.eclipse.help.webapp
org.eclipse.osgi
org.eclipse.tomcat
org.eclipse.update.configurator

So I'm guessing the server is a tomcat

A: 

Though I'm not exactly sure about your setup, adding a dependency on org.eclipse.wst.xsd.ui would add the XSD editor to an Eclipse application in general.

Fabian Steeg