Hello !!
The changes for the enhancement for retrieving XML validation errors programatically are attached.
 
With Regards
dutta:)