Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Validating a resource and extract validation message
Validating a resource and extract validation message [message #215335] Fri, 13 June 2008 18:28 Go to next message
Eclipse UserFriend
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 21:29 Go to previous messageGo to next message
Eclipse UserFriend
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 14:48 Go to previous messageGo to next message
Eclipse UserFriend
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 15:55 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
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 Web Tools Platform
Previous Topic:clean validation errors
Next Topic:Run as... doesn't open the browser
Goto Forum:
  


Current Time: Thu Mar 28 22:57:04 GMT 2024

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

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

Back to the top