Message

Element 'cbc:UBLVersionID' MUST contain value '2.1'.

Context
/ubl:CreditNote/cbc:UBLVersionID
Test
normalize-space(text()) = '2.1'
Usage
/ ubl:CreditNote / cbc:UBLVersionID