Eclipse 3.1.1 + Plugin: Problems with XML files, XSLT debug

Having trouble installing Oxygen? Got a bug to report? Post it all here.
sanderson
Posts: 51
Joined: Fri Jan 27, 2006 12:51 am

Eclipse 3.1.1 + Plugin: Problems with XML files, XSLT debug

Post by sanderson »

I just moved from the stand-alone version of version 7 to the Eclipse plugin. I'm using Eclipse 3.1.1 with Sun's JDK 1.5 (I've tried versions 1.5.0_02 and 1.5.0_06).

Editing the XSLT is really nice, and the project management is good, too.

If I open an XSLT editor, there's some great information in the Editor properties pane (filename, associated scenario, tab indent, etc.) However, if I open an XML file, the Editor properties pane fields all say n/a. The XML file also doesn't have any syntax highlighting.

Next problem. Transforms work, but debugging doesn't. When I click the oxygen debug icon, a dialog window opens, but it closes too rapidly for me to be able to read it. The perspective changes, but I can't select any XML files from the XML drop-down list.

Seems like XML files just aren't associated with the oxygen plug-in. Can you help me out with this?
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post by george »

Hi,

Yes, it seems that the XML files are not opened with the oXygen XML Editpr plugin. In the debugger perspective you also need to have the XML files opened with the oXygen XML Editor in order to be able to select them. Now Eclipse keeps a reference to the editor used to open a particular file and always uses that further to open a file. Try using the "Open with..." action from the contextual menu from the Navigator View to open the XML files and choose the oXygen XML Editor.

Best Regards,
George
Post Reply