Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » invoke XML
invoke XML [message #199562] Mon, 10 September 2007 21:04 Go to next message
Eclipse UserFriend
Originally posted by: zhihui_yang73.yahoo.com

Hi all,

I have two questions regarding XML validator.

1. Is there a way to invoke XML validator from WTP programmatically?

2. The XML Validator in WTP requires the schema to be identified directly
or indirectly inside XML file. Is there a way to assign the schema name to
the selected XML file at run time?

Thanks a lot!
ZYang
Re: invoke XML [message #199636 is a reply to message #199562] Wed, 12 September 2007 10:00 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 2335
Registered: July 2009
Senior Member
ZYang wrote:
> I have two questions regarding XML validator.
>
> 1. Is there a way to invoke XML validator from WTP programmatically?
Only by invoking the validation builder itself. The IProject
interface will allow you to run the builder using its ID,
org.eclipse.wst.validation.validationbuilder. Anything else would
use internals.

> 2. The XML Validator in WTP requires the schema to be identified
> directly or indirectly inside XML file. Is there a way to assign the
> schema name to the selected XML file at run time?

There are no plans to support that at this time, but it would make
for a useful contribution or recorded feature request in Bugzilla.

--
Nitin Dahyabhai
Structured Source Editing


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:EJB3 Ecore Model
Next Topic:Europa 3.3 WTP Issue - Error updating Axis deploy.wsdd file
Goto Forum:
  


Current Time: Wed Nov 26 00:57:44 GMT 2014

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

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