Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » custom validation?
custom validation? [message #168263] Mon, 01 May 2006 18:57 Go to next message
Eclipse UserFriend
What would be involved in creating my own validator, that works in
conjunction with the wtp xml validation, but catches things that cannot be
caught with schema based validation...

Any examples or articles that could lead me in the right direction?

Thanks
Brian Jakubik
Re: custom validation? [message #168271 is a reply to message #168263] Mon, 01 May 2006 19:29 Go to previous messageGo to next message
Eclipse UserFriend
Brian Jakubik wrote:

> Any examples or articles that could lead me in the right direction?

Here's an EclipseCon tutorial that I found very helpful:
http://www.eclipsecon.org/2006/Sub.do?id=180

Part I is on translators, Part II on data models, Part III on validators.

- Paul
Re: custom validation? [message #171215 is a reply to message #168263] Thu, 15 June 2006 02:44 Go to previous message
Eclipse UserFriend
Brian Jakubik wrote:
> What would be involved in creating my own validator, that works in
> conjunction with the wtp xml validation, but catches things that cannot be
> caught with schema based validation...
>
> Any examples or articles that could lead me in the right direction?

I'd look at the documentation for the
org.eclipse.wst.validation.validator and
org.eclipse.wst.sse.ui.sourcevalidation extension points. The first
pertains to the "batch" validators that operate on resources and the
latter concerns validating the contents of editors while the user is
modifying a file. There's some commonality between the two that you
might be able to take advantage of, but I also think they're both in
an "interim" state where they're unlikely, but not guaranteed, never
to change. WTP, including its incubating projects, should provide
you with numerous real-world examples of both.

--
- Nitin
Previous Topic:WTP 1.0.2 -- dream or reality ? + Recurring quality issues with WTP
Next Topic:j2ee standard tools
Goto Forum:
  


Current Time: Wed Jul 23 09:42:21 EDT 2025

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

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

Back to the top