Das Element 'ram:CountrySubDivisionName' darf höchstens einmal vorkommen.
In ram:PostalTradeAddress kommt ram:CountrySubDivisionName mehr als einmal vor.
ram:CountrySubDivisionName enthält die Bezeichnung eines untergeordneten Gebiets innerhalb des Landes, etwa eines Bundeslands oder einer vergleichbaren Verwaltungseinheit. Für die Postanschrift ist höchstens ein solcher Wert vorgesehen.
Die Postanschrift der ram:InvoicerTradeParty enthält mehrere ram:CountrySubDivisionName-Elemente. Sie können die Anschrift so anpassen, dass dieser Eintrag höchstens einmal vorkommt.
- Suchen Sie
ram:PostalTradeAddressinnerhalb vonram:InvoicerTradeParty. - Stellen Sie sicher, dass
ram:CountrySubDivisionNamedarin höchstens einmal vorkommt. - Erzeugen Sie die Rechnung neu und prüfen Sie sie erneut.
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Area A</ram:CountrySubDivisionName> <ram:CountrySubDivisionName>Area B</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
<ram:PostalTradeAddress> <ram:CountrySubDivisionName>Area A</ram:CountrySubDivisionName> </ram:PostalTradeAddress>
Technische Details
Die Regel zählt die direkten ram:CountrySubDivisionName-Elemente in ram:PostalTradeAddress und erlaubt höchstens eines.
Die Regel gilt für die Postanschrift ram:PostalTradeAddress der ram:InvoicerTradeParty.
rule/@context)assert/@test)