Element 'ram:ID' must occur exactly 1 times.
Within ram:GuidelineSpecifiedDocumentContextParameter, ram:ID does not occur exactly once. The element is missing or appears more than once.
The guideline identifier specifies the profile used to create the document. Exactly one ram:ID element is required in the guideline context.
ram:ID is missing from the guideline context, or the element appears there more than once. Exactly one entry identifies the profile unambiguously.
- Find
ram:IDinram:GuidelineSpecifiedDocumentContextParameter. - 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:GuidelineSpecifiedDocumentContextParameter/>
<ram:GuidelineSpecifiedDocumentContextParameter> <ram:ID/> </ram:GuidelineSpecifiedDocumentContextParameter>
Technical details
The XPath test counts the direct child elements ram:ID and requires the count to be 1.
The rule applies within ram:GuidelineSpecifiedDocumentContextParameter in the document context.
rule/@context)assert/@test)