在eclipse 中加载了很多插件，发现图形化的xml 编辑插件在打开图形化窗口式总是有如下的错误：
Unsupported content type in editor. To associate file extension with a supported content type, please see .....
Re: How do I work around "Unsupported Content Type" error for HTML
Ian Leslie wrote: > I just downloaded the web tools plug-ins (Web Standard Tools and J2EE > Standard Tools). I created my first web site (a static web site > project) and tried to create and edit an XHTML file. I received an > "Unsupported content type in editor..." error when I tried to open it > with the "HTML Editor". I have XML Buddy installed and it opened it by > default.> > I have read the thread:> http://dev.eclipse.org/newslists/news.eclipse.webtools/msg08746.html> > But it does not say how to work around the problem (other than removing > XML Buddy) XML Buddy has been my XML editor for a while and I would > like to continue to use it for XML editing. What can I do?
XMLBuddy claims to have worked around the problem for themselves
with their 2.0.66/2.0.67 versions, but for now the only solution to
allow WTP's editors to work is to uninstall/disable XMLBuddy.
恍然大悟 原来是 XMLBuddy 搞得鬼， xmlbuddy 的xml编辑器和 WTP 的编辑器冲突，禁用 xmlbuddy