Message

Value MUST be part of code list 'Dangerous goods regulations code (UNCL8273)'.

Context
/ubl:DespatchAdvice/cac:DespatchLine/cac:Item/cac:HazardousItem/cbc:UNDGCode
Test
(some $code in $clUNCL8273 satisfies $code = normalize-space(text()))
Code lists
Dangerous goods regulations code (UNCL8273)
Usage
/ ubl:DespatchAdvice / cac:DespatchLine / cac:Item / cac:HazardousItem / cbc:UNDGCode