Page 1 of 1

Can't edit .XSD files in Eclipse plug-in

Posted: Fri Nov 18, 2005 2:18 am
by terris
Eclipse 3.1.1
6.2 plug-in

When I load a .xsd file, the XSD menu in eclipse is blank and I can't type anything into the editor.

The file is not read-only.

What gives?

Posted: Fri Nov 18, 2005 2:18 am
by terris
XSD menu is not blank but everything in it is disabled.

Posted: Fri Nov 18, 2005 10:27 am
by sorin_ristache
Hello,

The cause is one of the following:

1. You did not provide a license key in the <oXygen/> registration dialog displayed when you activated the plugin (opening an XML file, XSD file, etc with an editor provided by the <oXygen/> plugin, accessing the preferences at Window -> Preferences -> oXygen).

2. The period covered by the trail license key entered in the registration dialog is expired now.

Regards,
Sorin

Posted: Fri Nov 18, 2005 11:15 am
by sorin_ristache
Hello,

There is another possibility:

3. The .xsd file is an external file (not included in the current Eclipse workspace). Starting with the next version the menu actions will be enabled and will work correctly also for external files.

Regards,
Sorin

Posted: Mon Nov 21, 2005 9:55 pm
by terris
Yes, it's an external file because I don't know how to deal with Eclipse workspaces yet.

Looking forward to the next version and yes I'm a paying customer. I love oxygen.

Thank you.

Posted: Tue Nov 22, 2005 10:29 am
by sorin_ristache
Hello,

Just create a simple project in Eclipse (File - New - Project ... and in the dialog select Simple - Project or other project type) if you don't have one already and add the XML Schema document to the project. Then open it with <oXygen/>. The <oXygen/> plugin should be associated with .xsd files by default if other plugins don't override that, so double-clicking on the .xsd should be enough. Otherwise right-click on the file and select Open With - Oxygen XSD Editor which will always use <oXygen/> to open the .xsd file.

Regards,
Sorin