Start of change

-20531   THE VERSION NUMBER actual-version SPECIFIED IN A BINARY XML VALUE IS NOT SUPPORTED. THE HIGHEST SUPPORTED VERSION IS supported-version.

Explanation

The version number contained in a binary XML value specifies a version of the binary XML specification that is not supported. The binary XML value cannot be parsed.

actual-version
The version that is specified.
supported-version
The highest version of the binary XML specification that is known to be supported.

System action

The statement cannot be processed.

Programmer response

Make sure that XML values either are formatted as binary XML data conforming to a version of the binary XML specification that the server supports or are formatted as textual XML data.

SQLSTATE

22544

End of change