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 17:04 Go to next message
Eclipse User
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 06:00 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2250
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: Sat Aug 23 09:32:48 EDT 2014

Powered by FUDForum. Page generated in 0.01629 seconds