Element 'ram:Description' may occur at maximum 1 times.
The same ram:ManufacturerTradeParty contains ram:Description more than once.
At most one ram:Description is allowed within this element for the manufacturer. Multiple occurrences repeat the description in the same place.
The product manufacturer has multiple ram:Description elements. Remove the extra occurrence so the description appears only once.
- Locate
ram:ManufacturerTradePartyfor the product on the invoice line. - Check its
ram:Descriptionelements and leave no more than one. - Generate the invoice again and validate it again.
<ram:ManufacturerTradeParty> <ram:Description>One</ram:Description> <ram:Description>Two</ram:Description> </ram:ManufacturerTradeParty>
<ram:ManufacturerTradeParty> <ram:Description>Manufacturer description</ram:Description> </ram:ManufacturerTradeParty>
Technical details
The test counts the direct ram:Description elements within ram:ManufacturerTradeParty and allows no more than one.
This rule applies within ram:ManufacturerTradeParty for a product on an invoice line.
rule/@context)assert/@test)