hpique
hpique

Reputation: 120354

Eclipse XSD editor

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.

Upvotes: 24

Views: 57289

Answers (3)

hpique
hpique

Reputation: 120354

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

Upvotes: 48

Zeus
Zeus

Reputation: 6566

You can go alternatively to eclipse market place (Help>Eclipse Market place) and search for XSD Editor, you will see the one provided by The eclipse foundation which will be like the following. I already have it installed, so it is asking me to update/uninstall. If you have it as well, then it will show you the same screenshot.

enter image description here

Upvotes: 2

Barend
Barend

Reputation: 17419

Which Eclipse package did you install? The XSD editor isn't included with all of them. If you click on "details" for any package, you can see the included features. The one you're looking for is org.eclipse.wst.xml_ui.feature.

Upvotes: 7

Related Questions