Element 'ram:ID' must occur exactly 1 times.
Within ram:BusinessProcessSpecifiedDocumentContextParameter, ram:ID does not occur exactly once. The element is missing or appears more than once.
The identifier associates the document context with a business process. Exactly one ram:ID element is required in this context.
ram:ID is missing from the business process context, or the element appears there more than once. Exactly one entry makes this information unambiguous.
- Find
ram:IDinram:BusinessProcessSpecifiedDocumentContextParameter. - Add the element if it is missing, or remove duplicates so that it occurs exactly once.
- Generate the invoice again and validate it once more.
<ram:BusinessProcessSpecifiedDocumentContextParameter/>
<ram:BusinessProcessSpecifiedDocumentContextParameter> <ram:ID/> </ram:BusinessProcessSpecifiedDocumentContextParameter>
Technical details
The XPath test counts the direct child elements ram:ID and requires the count to be 1.
The rule applies within ram:BusinessProcessSpecifiedDocumentContextParameter in the document context.
rule/@context)assert/@test)