Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » invoke XML
invoke XML [message #199562] Mon, 10 September 2007 17: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 06:00 Go to previous message
Eclipse UserFriend
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
Previous Topic:EJB3 Ecore Model
Next Topic:Europa 3.3 WTP Issue - Error updating Axis deploy.wsdd file
Goto Forum:
  


Current Time: Sat Jul 05 08:23:32 EDT 2025

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

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

Back to the top