Message

Value MUST be part of code list 'Criteria Type Codes'.

Context
/espd:ESPDResponse/ccv:Criterion/cbc:TypeCode
Test
(some $code in $clespd-CriteriaTypeCode satisfies $code = normalize-space(text()))
Code lists
Criteria Type Codes
Usage
/ espd:ESPDResponse / ccv:Criterion / cbc:TypeCode