Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Programmatically validate xml file (java.io.File) using webtools?
Programmatically validate xml file (java.io.File) using webtools? [message #177132] Wed, 16 August 2006 19:43 Go to next message
JavaJ Missing name is currently offline JavaJ Missing nameFriend
Messages: 45
Registered: July 2009
Member
Can anyone point me in the right direction? I need to do a batch validation
using eclipse webtools xml validators to validate some xml files using
java.io.File type files. When xml syntax is bad, i need a way to get the
error line number and then populate in the Problems view. How could i go
about doing this?
Re: Programmatically validate xml file (java.io.File) using webtools? [message #177248 is a reply to message #177132] Thu, 17 August 2006 20:32 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
>Can anyone point me in the right direction? I need to do a batch
validation
>using eclipse webtools xml validators to validate some xml files using
>java.io.File type files. When xml syntax is bad, i need a way to get the
>error line number and then populate in the Problems view. How could i go
>about doing this?

Does WTP not handle this for you automatically? It should using the
validation framework. If it doesn't for some reason tied to your use case
you should still be able to use the validation framework. Have you taken a
look at the validation framework[1]? The framework can be used to invoke
validation on a set of files and report results anywhere including the
Problems view. There's not much documentation but I'm sure you'll be able
to get some information from the code and fill in the gaps by probing us
developers.

Lawrence

[1]
http://dev.eclipse.org/viewcvs/index.cgi/wst/components/vali dation/plugins/?cvsroot=WebTools_Project
Previous Topic:Graph view on WSDL editor
Next Topic:XMLValidator - PLEASE HELP!!!
Goto Forum:
  


Current Time: Fri Apr 19 20:41:08 GMT 2024

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

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

Back to the top