Hi,
I am using XSD schema to validate the XML
String. I am able to validate the XML against XSD schema, but while validating the XML i am getting the SAXException messages as below
cvc-maxExclusive-valid: Value '23123132321323123123213' is not facet-valid with respect to maxExclusive '999999999999999' for type 'MerchantTrackIdType'.
cvc-type.3.1.3: The value '23123132321323123123213' of element 'MerchantTrackId' is not valid.
Here i am implementing the ErrorHandler(MyErrorHandler) class and getting the above exception messages. But to give exact error response to out i wish to get the only
The value '23123132321323123123213' of element 'MerchantTrackId' is not valid.
I googled out for getting the only cvc-type message from SAXException, Please help me in this regards if you found any solution.
Thanks in advance.