Attribute '@format' is required in this context.
The format attribute is missing from the udt:DateTimeString element for the basis date.
The format attribute identifies how the date value in udt:DateTimeString is to be interpreted.
The date value for the basis date of the payment penalty terms is missing its format. Add this information so the value can be interpreted.
- Find the basis date
udt:DateTimeStringin the payment penalty terms. - Add the
formatattribute to this element. - Generate the invoice again and validate it.
Technical details
The XPath checks only whether the format attribute is present on the context node.
The rule applies to the format attribute of udt:DateTimeString within the basis date of payment penalty terms.
rule/@context)assert/@test)