Community
Participate
Working Groups
There are many different kinds of XML files in our system, and this strains the simple "file extensions"-based association mechanism of the org.eclipse.ui.editors extension point. As XML proliferates as a file format I think this problem will be a common one. In fact a previously entered enhancement request (20667) also touches on this issue. Ideally I think there should be a way, independent of the "extensions" attribute, to indicate that files handled by a given editor are expected to be XML files, and that the top level XML element WITHIN the file should also be examined when Eclipse is determining what editor to associate with a given data file. This would involve adding a "doctype" attribute to: <!ELEMENT editor EMPTY> <!ATTLIST editor doctypeCDATA #OPTIONAL
*** This bug has been marked as a duplicate of 22953 ***