Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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 kashifFriend
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 SalterFriend
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: Tue Mar 19 06:52:50 GMT 2024

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

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

Back to the top