XMl attribute value validation [message #191999] |
Thu, 03 May 2007 12:57  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03954 seconds