Page 1 of 1

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

Posted: Fri Feb 03, 2006 8:43 am
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?

Posted: Mon Feb 06, 2006 11:11 am
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