xml editor and validate context menu [message #155667] |
Tue, 10 January 2006 10:19  |
Eclipse User |
|
|
|
Originally posted by: Matthias.Dillier.snb.ch
Hi all
I have to questions fo the xml editor in wtp.
What do I need for a minimal installation, when I only want to use the
xml-part of wtp (xml and dtd editors and validators)?
I have files with an extension other then .xml. They are opened by the
xml-editor but there is no validate entry in the content menu in the
package explorer for these files. How can I correct this?
Thank you for any help
Regards
Matthias Dillier
|
|
|
Re: xml editor and validate context menu [message #156462 is a reply to message #155667] |
Fri, 13 January 2006 21:36  |
Eclipse User |
|
|
|
On Tue, 10 Jan 2006 10:19:54 -0500, Matthias Dillier <Matthias.Dillier@s=
nb.ch> wrote:
>
> I have to questions fo the xml editor in wtp.
>
> What do I need for a minimal installation, when I only want to use the=
> xml-part of wtp (xml and dtd editors and validators)?
Basically the xml_core/ui.feature(s) common_core/ui.features(s)
and all they prereq (still gef, emf, and jem, so far).
We don't readily provide this as an install option right now, but
if you wanted to sort through the feature.xml's, etc., you could do so.
These ae also (mostly) documented in
http://www.eclipse.org/webtools/development/arch_and_design/ subsystems/S=
ubsystemsAndFeatures.html
>
> I have files with an extension other then .xml. They are opened by the=
> xml-editor but there is no validate entry in the content menu in the
> package explorer for these files. How can I correct this?
>
Sorry, validation is not currently content type sensitive. The only "hac=
k-like" solution
now is to grep the plugin.xml's, find where xml validation is defined, a=
nd add your extention
there [again, this is only for those not feint of heart, I'm not suggest=
ing "end users"
do this .. just if you are experimenting with providing your own plugin,=
etc.
|
|
|
Powered by
FUDForum. Page generated in 0.05030 seconds