Attribute '@format' is required in this context.
The required format attribute is missing from the udt:DateTimeString element.
The format attribute identifies the format of the date or time value in udt:DateTimeString.
The udt:DateTimeString element has no format indicator. Add the format attribute to this element.
- Find
udt:DateTimeStringwithinram:CompleteDateTime. - Add the
formatattribute toudt:DateTimeString. - Generate the invoice again and validate it.
<udt:DateTimeString>20261115</udt:DateTimeString>
<udt:DateTimeString format="102">20261115</udt:DateTimeString>
Technical details
The test directly checks for the presence of the @format attribute on the context node udt:DateTimeString.
The rule applies to the udt:DateTimeString element within ram:CompleteDateTime in the ram:EffectiveSpecifiedPeriod period.
rule/@context)assert/@test)