Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » what happend to org.eclipse.wst.xml.ui.internal.validation.core.ValidateAction
what happend to org.eclipse.wst.xml.ui.internal.validation.core.ValidateAction [message #176876] Fri, 11 August 2006 17:17 Go to next message
Brian Jakubik is currently offline Brian JakubikFriend
Messages: 140
Registered: July 2009
Senior Member
Shame on me for using and intermal class, but now trying to port to 1.5 and
I can find it or its replacement. Any one know what happened to it?

Thanks.
Re: what happend to org.eclipse.wst.xml.ui.internal.validation.core.ValidateAction [message #177233 is a reply to message #176876] Thu, 17 August 2006 20:20 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
The ValidateAction classes (for XML ,XSD, DTD and WSDL) have dissapeared
in 1.5. These classes existed for the validators to contribute Validate
XXX File context menu items. In 1.5 the validators were refactored to
remove all UI dependencies and now rely on the Validate action from the
validation framework.

If you're looking to reuse the XML validator take a look at [1] or the
Eclipse integrated validator at [2]. If you'd like to use these through
the validation framework's provisional validator API you can request the
validator for a resource type (I don't it's think based on content types
at this point) from the validation framework itself. (This should help
avoid the non-API dependency on the XML validator itself.) WTP source
validation takes this approach and should serve as a good example if you
want to go this route.

And of course, if you find something internal useful feel free to open a
request for API. No gaurantees that it will be made API but at least we
can understand your use of our code a little better.

Lawrence

[1]
http://dev.eclipse.org/viewcvs/index.cgi/wst/components/xml/ plugins/org.eclipse.wst.xml.core/src-validation/org/eclipse/ wst/xml/core/internal/validation/XMLValidator.java?rev=1.18& amp;cvsroot=WebTools_Project&content-type=text/vnd.viewc vs-markup

[2] http://dev.eclipse.org/viewcvs/index.cgi/wst/components/xml/ plugins/org.eclipse.wst.xml.core/src-validation/org/eclipse/ wst/xml/core/internal/validation/eclipse/XMLValidator.java?r ev=1.2&cvsroot=WebTools_Project&content-type=text/vn d.viewcvs-markup
Previous Topic:J2EE Module Dependencies and web.xml
Next Topic:Graph view on WSDL editor
Goto Forum:
  


Current Time: Fri Apr 19 06:05:58 GMT 2024

Powered by FUDForum. Page generated in 0.02786 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top