Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Validating a resource and extract validation message
Validating a resource and extract validation message [message #215335] Fri, 13 June 2008 14:28 Go to next message
Eclipse User
Originally posted by: voice10.gmail.com

Hi All, I'm trying to use the wtp validator framework in order to validate
IResource (mainly WSDL and XSD files) and extract the validated/error
message(s) to display in my own viewer like the Problem viewer.
What the best approach to run all the configured validators for the given
resource and extract the result ?

thanks in advance

Susanta
Re: Validating a resource and extract validation message [message #215356 is a reply to message #215335] Fri, 13 June 2008 17:29 Go to previous messageGo to next message
Eclipse User
Originally posted by: dcarver.starstandard.org

I believe you want to implement in the validator framework a catch for
the error messages as they are tossed by the validation framework. Then
display these in your viewer.


Susanta Datta wrote:
> Hi All, I'm trying to use the wtp validator framework in order to
> validate IResource (mainly WSDL and XSD files) and extract the
> validated/error message(s) to display in my own viewer like the Problem
> viewer. What the best approach to run all the configured validators for
> the given resource and extract the result ?
>
> thanks in advance
>
> Susanta
Re: Validating a resource and extract validation message [message #215906 is a reply to message #215356] Mon, 23 June 2008 10:48 Go to previous messageGo to next message
Eclipse User
Originally posted by: voice10.gmail.com

Thanks David for your reply. In my case I didn't implement the validator
framework but trying to use the result of the validation message. I could
not find any extension point where I can catch the message from any
existing validator framework. Could you please send me more details if
this is possible.

thanks
Susanta
Re: Validating a resource and extract validation message [message #216273 is a reply to message #215906] Fri, 27 June 2008 11:55 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2229
Registered: July 2009
Senior Member
Susanta Datta wrote:
> Thanks David for your reply. In my case I didn't implement the validator
> framework but trying to use the result of the validation message. I
> could not find any extension point where I can catch the message from
> any existing validator framework. Could you please send me more details
> if this is possible.

The validation framework already saves those messages to problem
IMarkers. Perhaps you can use those?

--
---
Nitin Dahyabhai
Eclipse WTP Source Editing
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:clean validation errors
Next Topic:Run as... doesn't open the browser
Goto Forum:
  


Current Time: Tue Jul 22 13:46:53 EDT 2014

Powered by FUDForum. Page generated in 0.02934 seconds