Element 'ram:Content' must occur exactly 1 times.
ram:Content does not occur exactly once in ram:IncludedNote. The element is either missing or occurs more than once.
ram:Content contains the text of the note. Exactly one occurrence ensures that the note has a single, clearly defined content element.
ram:Content is missing from ram:IncludedNote or occurs more than once. Having exactly one content element gives the note a clear structure.
- Check
ram:IncludedNote. - Ensure that it contains exactly one
ram:Content. - Generate the invoice again and validate it.
<ram:IncludedNote> <ram:Content>Note 1</ram:Content> <ram:Content>Note 2</ram:Content> </ram:IncludedNote>
<ram:IncludedNote> <ram:Content>Note</ram:Content> </ram:IncludedNote>
Technical details
The test counts direct ram:Content elements in the context of ram:IncludedNote and requires exactly one.
Applies to ram:Content within the note ram:IncludedNote.
rule/@context)assert/@test)