BIP5395

Severity

20 : Error

Message

An xsi:type attribute value on element '<insert_2>' is invalid.
'<insert_0>' is not a valid MemberType of union type '<insert_1>'.

Explanation

Element '<insert_2>' is based on a union type '<insert_1>' and has an xsi:type attribute with value '<insert_0>'. This should explicitly resolve the union '<insert_1>' to one of its modeled memberTypes. The xsi:type attribute value '<insert_0>' does not correspond to a valid memberType of union '<insert_1>'.

Response

Modify the message so that the xsi:type attribute identifies a valid memberType of union '<insert_1>', or check the message model, ensuring that union type <insert_1> contains the correct list of simple types.