Attribute '@mimeCode' is required in this context.
The @mimeCode attribute is missing from ram:AttachmentBinaryObject.
The @mimeCode attribute specifies the MIME type of the binary attachment. Without this attribute, that information is absent from the XML structure.
The file attachment for the referenced document with the value 916 is missing its MIME type. Add the @mimeCode attribute to ram:AttachmentBinaryObject.
- Find the
ram:AttachmentBinaryObjectin the referenced document with theram:TypeCodevalue916. - Add the
@mimeCodeattribute there. - Generate the invoice again and validate it again.
Technical details
The rule checks whether the @mimeCode attribute is present on ram:AttachmentBinaryObject.
On the ram:AttachmentBinaryObject of the ram:AdditionalReferencedDocument whose ram:TypeCode has the value 916.
rule/@context)assert/@test)