Eclipse XSD editor

hpique picture hpique · Sep 12, 2011 · Viewed 52.2k times · Source

How do you launch or install the Eclipse XSD editor?

According to this it seems it should work out-of-the-box. I created the XMLExamples project and when I open Catalogue.xsd Eclipse treats it as a text file. If I choose Open With > Other... there's no XSD editor on the list.

I'm using Eclipse Indigo (3.7) on Mac OS X Lion.

Answer

hpique picture hpique · Sep 12, 2011

Apparently the XSD editor wasn't included in my package (Eclipse IDE for Java Developers). I added it using:

Help > Install New Software...

Work with (enter your Eclipse version, here Photon):

Photon - http://download.eclipse.org/releases/photon

Filter by "XML" - as "XSD" wouldn't return the XSD editor (eventually untick "Hide items that are already installed" in case it's already installed):

Web, XML, Java EE and OSGi Enterprise Development

And then:

Eclipse XML Editors and Tools

Example with Photon:

enter image description here