xerces-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajay bhadauria <abhadau...@yahoo.com>
Subject Attribute validation Error
Date Fri, 21 Aug 2009 15:49:14 GMT
Hi,

I am validating xml instance against schema using java Validator API with DOMsource. Now,
Suppose, there is an error in one of the attributes of the element. 

I am able to get the element node using current-element-node property and the Validator is
reporting error that attribute (name of the attribute) is not allowed in element. That is
all good.

Is there any way that Validator can tell that which attribute has in error
though in the error message it tells that.

Or I need to parse the error message to get the name of the attribute ? 

Please recommend
Thanks
AB 


      

---------------------------------------------------------------------
To unsubscribe, e-mail: j-users-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-users-help@xerces.apache.org


Mime
View raw message