Element 'ram:Value' may occur at maximum 1 times.
A product characteristic contains more than one ram:Value element. This element may occur at most once in each ram:ApplicableProductCharacteristic.
A product characteristic can be expressed by at most one value. Multiple values in the same place do not meet the required XML structure.
ram:Value appears more than once for a product characteristic. You can adjust the entry so that it contains at most one value.
- Locate the affected
ram:ApplicableProductCharacteristic. - Remove any extra
ram:Valueelements so that at most one remains. - Regenerate the invoice and check it again.
<ram:ApplicableProductCharacteristic> <ram:Value>A</ram:Value> <ram:Value>B</ram:Value> </ram:ApplicableProductCharacteristic>
<ram:ApplicableProductCharacteristic> <ram:Value>A</ram:Value> </ram:ApplicableProductCharacteristic>
Technical details
The rule checks the number of direct ram:Value elements in the context of ram:ApplicableProductCharacteristic and allows zero or one.
The rule applies to ram:Value within a product characteristic (ram:ApplicableProductCharacteristic) on an invoice line.
rule/@context)assert/@test)