Message

Value MUST be part of code list 'Recommendation 20, including Recommendation 21 codes - prefixed with X (UN/ECE)'.

Context
/ubl:Waybill/cac:Shipment/cac:Consignment/cac:TransportHandlingUnit/cac:GoodsItem/cac:Item/cac:HazardousItem/cac:EmergencyTemperature/cbc:Measure
Test
not(@unitCode) or (some $code in $clUNECERec20 satisfies $code = @unitCode)
Code lists
Recommendation 20, including Recommendation 21 codes - prefixed with X (UN/ECE)
Usage
/ ubl:Waybill / cac:Shipment / cac:Consignment / cac:TransportHandlingUnit / cac:GoodsItem / cac:Item / cac:HazardousItem / cac:EmergencyTemperature / cbc:Measure / @unitCode