Skip to main content



      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 15:43 Go to next message
Eclipse UserFriend
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 16:32 Go to previous message
Eclipse UserFriend
>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: Tue Jul 22 18:06:03 EDT 2025

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

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

Back to the top