Invalid attribute on an element or a required namespace prefix missing on an attribute.
Notice! This page describes the nature of the error using a hypothetical example and not the erroneous data of the input test file. You should however be able to apply this information to your error case.
Error Description:
Invalid attribute on an element or a required namespace prefix missing on an attribute. Attribute name could also be mistyped.
Example:
In this example an attribute called "ccy" is given for InstdAmt element. The error says the attribute is invalid. Further information on which attributes are allowed for the InstdAmt element can be found from schema, which in this case shows the following:
<xs:complexType name="ActiveOrHistoricCurrencyAndAmount">
<xs:complexType name="ActiveOrHistoricCurrencyAndAmount">
Explanation of the error message given by the validator:
Element 'elem1', attribute 'att1'. The attribute 'att1' is not allowed.
The attribute att1 given for element elem1 should not be there.