Message

Value MUST be part of code list 'Recommendation 19 (UN/ECE) Transport Modes'.

Context
/ubl:TransportExecutionPlan/cac:Consignment/cac:MainCarriageShipmentStage/cbc:TransportModeCode
Test
(some $code in $clUNECERec19 satisfies $code = normalize-space(text()))
Code lists
Recommendation 19 (UN/ECE) Transport Modes
Usage
/ ubl:TransportExecutionPlan / cac:Consignment / cac:MainCarriageShipmentStage / cbc:TransportModeCode