Element 'ram:Description' may occur at maximum 1 times.
ram:Description occurs more than once in ram:ApplicableProductCharacteristic. The test allows at most one such element.
The description of a product characteristic is stated at most once within ram:ApplicableProductCharacteristic.
ram:Description was provided more than once in ram:ApplicableProductCharacteristic. The description may occur there only once.
- Find
ram:Descriptioninram:ApplicableProductCharacteristic. - Make sure the element occurs there no more than once.
- Generate the invoice again and validate it.
<ram:ApplicableProductCharacteristic> <ram:Description>First description</ram:Description> <ram:Description>Second description</ram:Description> </ram:ApplicableProductCharacteristic>
<ram:ApplicableProductCharacteristic> <ram:Description>Product description</ram:Description> </ram:ApplicableProductCharacteristic>
Technical details
The XPath counts the child ram:Description elements and requires their number to be no greater than one.
The rule applies in ram:ApplicableProductCharacteristic of an invoice line.
rule/@context)assert/@test)