Element 'ram:Value' may occur at maximum 1 times.
ram:Value occurs more than once in ApplicableProductCharacteristic. The element may occur no more than once.
The rule limits the value of a product characteristic to one element per ApplicableProductCharacteristic. This keeps the characteristic value unambiguous.
The value is provided more than once for a product characteristic. You can remove the duplicates; the value is optional.
- Locate the affected
ApplicableProductCharacteristic. - Remove duplicate
ram:Valueelements so that no more than one remains. - Regenerate the invoice and validate it again.
<ram:ApplicableProductCharacteristic> <ram:Value>Valeur A</ram:Value> <ram:Value>Valeur B</ram:Value> </ram:ApplicableProductCharacteristic>
<ram:ApplicableProductCharacteristic> <ram:Value>Valeur</ram:Value> </ram:ApplicableProductCharacteristic>
Technical details
The test counts the direct ram:Value 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)