Hello,
I have the program that intakes the request that contains multiple parameters in the form of XML String. The request is validated against XML Schema (W3C).
I was able to encode validation rules (restrictions) for almost all parameters into XML schema except validation of Date of Birth parameter. This parameter must have the age restriction. In other words, the only valid date of birth is when person is between 17 and 85 years old. Does anybody know the way to encode this restriction into XML schema? Currenty this is the only validation that I still have to perform in the program's code.
Regards,
Leo
I have the program that intakes the request that contains multiple parameters in the form of XML String. The request is validated against XML Schema (W3C).
I was able to encode validation rules (restrictions) for almost all parameters into XML schema except validation of Date of Birth parameter. This parameter must have the age restriction. In other words, the only valid date of birth is when person is between 17 and 85 years old. Does anybody know the way to encode this restriction into XML schema? Currenty this is the only validation that I still have to perform in the program's code.
Regards,
Leo