Message

Value MUST be part of code list 'Country codes (ISO 3166-1:Alpha2)'.

Context
/ubl:TransportExecutionPlanRequest/cac:Consignment/cac:MainCarriageShipmentStage/cac:RequestedArrivalTransportEvent/cac:Location/cac:Address/cac:Country/cbc:IdentificationCode
Test
(some $code in $clISO3166 satisfies $code = normalize-space(text()))
Code lists
Country codes (ISO 3166-1:Alpha2)
Usage
/ ubl:TransportExecutionPlanRequest / cac:Consignment / cac:MainCarriageShipmentStage / cac:RequestedArrivalTransportEvent / cac:Location / cac:Address / cac:Country / cbc:IdentificationCode