Message

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

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