Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » XMl attribute value validation
XMl attribute value validation [message #191999] Thu, 03 May 2007 12:57 Go to next message
kashif is currently offline kashif
Messages: 16
Registered: July 2009
Junior Member
Hi All,

is there anyway I can customize the XML validation?? What I really wanted to
is to report an error/warning if an attribute value is empty. It might be if
I need to specify these restriction in the schema file which I am not sure.

Please comment.

Thanks,
Kashif
Re: XMl attribute value validation [message #192034 is a reply to message #191999] Thu, 03 May 2007 16:58 Go to previous message
Craig Salter is currently offline Craig Salter
Messages: 169
Registered: July 2009
Senior Member
Nope, no support for extension. Your best bet would be to provide your
own validator that perhaps extends the XML validator (though you'd be
taking the usual risk of bulding on internal code). It would be really
nice if someone in the community would contribute a schematron extension
to our XML validator. That way it would be relatively simple for folks to
craft their own validation rules with the minimum amount of code. Any
takers?

kashif wrote:

> Hi All,

> is there anyway I can customize the XML validation?? What I really wanted to
> is to report an error/warning if an attribute value is empty. It might be if
> I need to specify these restriction in the schema file which I am not sure.

> Please comment.

> Thanks,
> Kashif
Previous Topic:WST XML editor schema finding using name of the schema
Next Topic:I can't find the source of a warning message in a Dynamic Web Project
Goto Forum:
  


Current Time: Wed Oct 01 00:11:49 GMT 2014

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

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