Posted: Thu Jun 09, 2016 10:56 am Post subject: Validate Node Exception - Not up to the mark . Need solution
Apprentice
Joined: 20 Aug 2013 Posts: 26
Hi ,
I am using Validate Node to validate my xml message againist a schema which is wrapped in the messageset and it does the validation as expected but the exception it throws doesn't indicated the element name or the type name and to any lame user its difficult to figure out the exact element which has failed. Is there a way this can be corrected.
The exception exception message that i get is :-
The length of value "" is "0" which is not valid with respect to the minLength facet with value "1" for type "#Anonymous".
As we can see above it just tells Anonymous instead of the element name or the type. Please find my mxsd below. It does fail for 'transactionCode' which is inside the complex type transactionDetails. But in the exception it doesnt show the type or name. Please give me some ideas to resolve this.
--------------------------below is my schema used by validate node-----------------
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum