custom validation? [message #168263] |
Mon, 01 May 2006 18:57  |
Eclipse User |
|
|
|
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 #171215 is a reply to message #168263] |
Thu, 15 June 2006 02:44  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.27069 seconds