> 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
> 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.
Structured Source Editing
Eclipse WTP, IBM Emerging Technologies