Attribute '@format' is required in this context.
The udt:DateTimeString in ram:OccurrenceDateTime has no format attribute. This attribute is required in this context.
The format attribute identifies the format used for the actual delivery event date. Without it, the date format cannot be determined unambiguously in this context.
The date of the actual delivery event is missing its format. Add the attribute so the date is clearly identified in this context.
- Locate the
udt:DateTimeStringinram:OccurrenceDateTimewithinram:ActualDeliverySupplyChainEvent. - Add the
formatattribute to that element. - Generate the invoice again and validate it again.
Technical details
The Schematron test checks whether the format attribute is present on the current udt:DateTimeString.
The rule applies to udt:DateTimeString within ram:OccurrenceDateTime in the actual delivery event of an invoice line.
rule/@context)assert/@test)