Message

An attribute identifier MUST be from the UN EDIFACT 6313 code list

Context
cbc:AttributeID
Test
( ( not(contains(normalize-space(.),' ')) and contains( ' A AAA AAB AAC AAD AAE AAF AAG AAH AAI AAL AAM AAN AAO AAP AAQ AAR AAS AAT AAU AAV AAW AAX AAY AAZ ABA ABB ABC ABD ABE AF B BL BND BR BRA BRE BS BSW BW CHN CM CT CV CZ D DI DL DN DP DR DS DW E EA F FI FL FN FV G GG GW HF HM HT IB ID L LM LN LND M MO MW N OD PRS PTN RA RF RJ RMW RP RUN RY SQ T TC TH TN TT U VH VW WA WD WM WT WU XH XQ XZ YS ZAL ZAS ZB ZBI ZC ZCA ZCB ZCE ZCL ZCO ZCR ZCU ZFE ZFS ZGE ZH ZK ZMG ZMN ZMO ZN ZNA ZNI ZO ZP ZPB ZS ZSI ZSL ZSN ZTA ZTE ZTI ZV ZW ZWA ZZN ZZR ZZZ ',concat(' ',normalize-space(.),' ') ) ) )
Usage
/ ubl:Catalogue / cac:CatalogueLine / cac:Item / cac:Dimension / cbc:AttributeID
/ ubl:Catalogue / cac:CatalogueLine / cac:Item / cac:Dimension / cbc:Measure