Message

Tax categories MUST be one of the follwoing codes: AA E H K R S Z AE G

Context
cac:*[ends-with(name(), 'TaxCategory')]/cbc:ID
Test
some $code in tokenize('AA E H K R S Z AE G', '\s') satisfies $code = normalize-space(.)