Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse XSD editor

Tags:

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.

like image 301
hpique Avatar asked Sep 12 '11 10:09

hpique


People also ask

How do I edit an XSD file?

To edit a fileSelect the Use XML editor to view and edit the underlying XML Schema file link on the Start View. The XML editor appears with the new file open. Copy the XML Schema sample code from Purchase order schema and paste it to replace the code that was added to the new XSD file by default.

What program do you use to open XSD files?

An XSD file stores its contents as plain text in XML format, which means the files can be opened and viewed by any text editor and numerous other programs. However, if you want to edit an XSD file, you should use an XML editor, such as Microsoft XML Notepad, Bare Bones BBEdit, or SyncRO Soft oXygen XML Editor.


1 Answers

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

like image 190
hpique Avatar answered Oct 18 '22 15:10

hpique