Message

Value MUST be part of code list 'Measured attribute code (UNCL6313)'.

Context
/ubl:Catalogue/cac:CatalogueLine/cac:Item/cac:Dimension/cbc:AttributeID
Test
(some $code in $clUNCL6313 satisfies $code = normalize-space(text()))
Code lists
Measured attribute code (UNCL6313)
Usage
/ ubl:Catalogue / cac:CatalogueLine / cac:Item / cac:Dimension / cbc:AttributeID