Element 'ram:CompleteNumber' must occur exactly 1 times.
ram:FaxUniversalCommunication does not contain exactly one ram:CompleteNumber: the element is missing or occurs more than once.
The fax communication requires exactly one element for the complete number in this XML context. A missing or repeated element does not match the expected structure.
The buyer agent’s fax contact is missing ram:CompleteNumber or contains it more than once. Exactly one such element meets the structural requirement.
- Check
ram:FaxUniversalCommunicationin the buyer agent’s contact. - Make sure it contains exactly one
ram:CompleteNumberelement. - Generate the invoice again and validate it once more.
<ram:FaxUniversalCommunication/>
<ram:FaxUniversalCommunication> <ram:CompleteNumber/> </ram:FaxUniversalCommunication>
Technical details
The XPath counts direct ram:CompleteNumber elements under ram:FaxUniversalCommunication and requires exactly one.
The rule applies to ram:CompleteNumber within the ram:FaxUniversalCommunication fax communication of the buyer agent’s contact.
rule/@context)assert/@test)