|
Re: Opening files with a non standard XML extension fails [message #53061 is a reply to message #53036] |
Wed, 10 November 2004 15:59 |
Eclipse User |
|
|
|
Originally posted by: amywu.us.DELETETHISPART.ibm.com
I believe it has something to do with the xml editor requiring an xml
content type. You can associate the xml content type to your special
extension by adding the following to any plugin.xml file:
<extension
point="org.eclipse.core.runtime.contentTypes">
<file-association
content-type="org.eclipse.core.runtime.xml"
file-extensions="aaa"/>
</extension>
This does sound like a bug though. I'd open a bug on web tools if there
isn't one already.
-amy
Jos Dirksen wrote:
> Hi all,
> First off it could be because I'm running on M3 (same problem occured on
> M2)
> I've got a small problem with opening xml files that don't have a usual
> xml extension like .xml/.xslt/.xsd.
> If I open a normal xml file like test.xml everything works. If I now
> rename this file to test.xmap and open it with the same editor I get the
> messsage:
> "editor could not be initialized"
> Nothing can be found in any of the log files.
> Any ideas...
> Jos
|
|
|
Powered by
FUDForum. Page generated in 0.03007 seconds