Getting Message: No XML document selected

Having trouble installing Oxygen? Got a bug to report? Post it all here.
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

Getting Message: No XML document selected

Post by mphare »

Hi,

I've just upgraded from Editor 9.3 to 11.1.
I had this problem prior to the upgrade and was hoping the upgrade would fix the problem.

In Eclipse 3.5 (Galileo), when I open an XML or XSL file, the tabs on the right of the perspective (Model, Attribute, Elements, Entities, etc..) show the message "No XML document selected" and nothing else. If I open an XSD file, then these tabs show all the information I expected to see.

The question is, why do I not get this for XML and XSL files as well?

Thanks,

- mike
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

Re: Getting Message: No XML document selected

Post by mphare »

I have a 3 seat license, so I installed another Oxygen Editor 11.1 on my laptop also running Galileo.

That one works fine. All the tabs show the structure as I would have expected them too.

So, what can be different between the two installations? Why would one work and not the other? Some Preference maybe?

Thanks,
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Getting Message: No XML document selected

Post by adrian »

Hello,

I'm guessing you have another Eclipse plugin that "hijacked" the XML and XSL file associations. So make sure the XML and XSL files are being opened in an Oxygen editor.

In Package/Navigation Explorer right click on an XML file and choose Open with -> Oxygen XML Editor. Do the same for XSL but choose Oxygen XSL Editor.

If the Oxygen views still report "No XML document selected" try to reset the perspective (Window -> Reset Perspective...).

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

Re: Getting Message: No XML document selected

Post by mphare »

That does seem to be the problem.

Is there a way to un-hijack, or re-hijack the associations and give them back to Oxygen?

Thanks for the help!
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
mphare
Posts: 71
Joined: Fri Apr 30, 2004 8:00 pm
Location: Texas

Re: Getting Message: No XML document selected

Post by mphare »

Opps... found it in the preference.

Thanks again for the help!
--------------------------

- mike

GnuPG Key fingerprint = 1AD4 726D E359 A31D 05BF ACE5 CA93 7AD5 D8E3 A876
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: Getting Message: No XML document selected

Post by adrian »

I know you already found the file associations but I am posting this for other people to find if they encounter the same problem.

The file associations in Eclipse are found in:
Window -> Preferences, General /Editors / File Associations

Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply