In my application I have a number of xml files supported by an xsd file. My xml files have extensions like .tst, .ste, and .sno. When I try to create a file association mapping from any of these extensions to the MyEclipse Web XML Editor and then try to open any of the files using the (now default) editor, I get the following error message:
Could not open the editor: org.eclipse.core.internal.filebuffers.SynchronizableDocument
However, when I remove the association and then rename my file to have a .xml extension, the MyEclipse editor correctly opens the file and gives me proper syntax highlighting. It looks like, for some reason, this particular implementation requires xml files to have the .xml extension.
I am using MyEclipse 7.0 fully integrated installation on a Dell Latitude D810 with 1.00 GB of Ram and a Pentium processor running at 1.86Ghz on Windows XP SP3. I am using Java 1.5.0_17.
The contents of my xml file are as follows (DisplayTest.tst):
<pre>
<?xml version=”1.0″ encoding=”UTF-8″?>
<testCase>
<name>Display Example</name>
<description>This example uses an inherited operative and simply displays a number of lines of text on standard out.</description>
<agency>
<className>blitz.examples.simple.SimpleAgency</className>
</agency>
<commandList>
<command>display This is my first command.</command>
<command>display “This is my second command.”</command>
<command>goop “Enough already! This is my third command.”</command>
</commandList>
</testCase>
</pre>
Thanks,
David