Closed phax closed 3 years ago
Source: https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/56
Please check that the format attribute is only 102, 610 or 616
format
102
610
616
Check the 102 format like this:
A regular expression for this may look like this:
^[0-9][0-9][0-9][1-9](1[0-2]|0[1-9])(3[01]|2[0-9]1[0-9]|0[1-9])$
Applying regular expression (20\d{2})(\d{2})(\d{2}) to udt:DateTimeString[@format = '102']
I don't like the fix 20 in front. Wouldn't it be simpler (and less error prone) to use \d{8} instead?
20
\d{8}
You are right.
Source: https://github.com/itplr-kosit/validator-configuration-xrechnung/issues/56
Please check that the
format
attribute is only102
,610
or616
Check the
102
format like this:A regular expression for this may look like this: