MYDATA-212
AA element must be number with value between 0 and 18446744073709551615 for issuer from Greece: aa is ….
error: the document is invalid
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element
Context
inv:invoiceHeader
Test
not(../inv:issuer/inv:country = 'GR') or (matches(normalize-space(inv:aa), '^[0-9]{1,20}$') and xs:decimal(normalize-space(inv:aa)) le 18446744073709551615)
Checked with myDATA 2.0.2