Element 'ram:CountrySubDivisionName' may occur at maximum 1 times.
ram:CountrySubDivisionName occurs more than once in ram:PostalTradeAddress.
The manufacturer address may contain at most one country subdivision. Multiple entries of this kind exceed the occurrence limit for this element.
ram:CountrySubDivisionName is entered more than once in the manufacturer’s postal address. It may occur at most once.
- Locate the manufacturer’s
ram:PostalTradeAddress. - Make sure
ram:CountrySubDivisionNameoccurs no more than once in it. - Remove any repeated entry if necessary.
- Generate the invoice again and validate it once more.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Region B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Region A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technical details
The test limits the number of direct ram:CountrySubDivisionName elements in ram:PostalTradeAddress to zero or one.
The rule applies to ram:CountrySubDivisionName in the postal address of the manufacturer of a product on an invoice line.
rule/@context)assert/@test)