Element 'ram:Description' may occur at maximum 1 times.
ram:Description occurs more than once in ApplicableProductCharacteristic. The element may occur no more than once.
The rule limits the description of a product characteristic to one element per ApplicableProductCharacteristic. This keeps the characteristic structurally unambiguous.
The description appears more than once for a product characteristic. You can remove the duplicates; the description is optional.
- Locate the affected
ApplicableProductCharacteristic. - Remove duplicate
ram:Descriptionelements so that no more than one remains. - Regenerate the invoice and validate it again.
<ram:ApplicableProductCharacteristic> <ram:Description>Description A</ram:Description> <ram:Description>Description B</ram:Description> </ram:ApplicableProductCharacteristic>
<ram:ApplicableProductCharacteristic> <ram:Description>Description</ram:Description> </ram:ApplicableProductCharacteristic>
Technical details
The test counts the direct ram:Description elements of ApplicableProductCharacteristic and permits a count of 0 or 1.
The rule applies to ApplicableProductCharacteristic within the product of an invoice line.
rule/@context)assert/@test)