Bug 23183 - [Editor Mgmt] Improve XML application "awareness" of the org.eclipse.ui.editors extension point
Summary: [Editor Mgmt] Improve XML application "awareness" of the org.eclipse.ui.edito...
Status: RESOLVED DUPLICATE of bug 22953
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Eduardo Pereira CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-04 16:50 EDT by David Dean CLA
Modified: 2002-09-06 13:34 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Dean CLA 2002-09-04 16:50:11 EDT
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
Comment 1 Tod Creasey CLA 2002-09-06 13:34:26 EDT

*** This bug has been marked as a duplicate of 22953 ***