Message

Value MUST be part of code list 'UN/ECE Recommendation 20'.

Context
/ubl:Catalogue/cac:CatalogueLine/cac:Item/cac:AdditionalItemProperty/cbc:ValueQuantity
Test
not(@unitCode) or (some $code in $clUNECERec20 satisfies $code = @unitCode)
Code lists
UN/ECE Recommendation 20
Usage
/ ubl:Catalogue / cac:CatalogueLine / cac:Item / cac:AdditionalItemProperty / cbc:ValueQuantity / @unitCode