Product Site

C.1.12. Error 15 - Invalid hexadecimal or binary string.

Explanation:

Hexadecimal strings must not have leading or trailing whitespace characters and whitespace can only be embedded at byte boundaries. Only the digits 0-9 and the letters a-f and A-F are allowed. The following are valid hexadecimal strings:
'13'x
'A3C2 1c34'x
'1de8'x

Binary strings must not have leading or trailing whitespace characters and whitespace can only be embedded at the boundaries of groups of four binary digits. Only the digits 0 and 1 are allowed. These are valid binary strings:
'1011'b
'110 1101'b
'101101 11010011'b

You might have mistyped one of the digits, for example, typing a letter O instead of the number 0. Or you might have used the one-character symbol X or B (the name of the variable X or B, respectively) after a literal string when the string is not intended as a hexadecimal or binary specification. In this case, use the explicit concatenation operator (||) to concatenate the string to the value of the symbol.

The associated subcodes are:
001

Incorrect location of whitespace character in position position in hexadecimal string.
002

Incorrect location of whitespace character in position position in binary string.
003

Only 0-9, a-f, A-F, and whitespace characters are valid in a hexadecimal string; found "character".
004

Only 0, 1, and whitespace characters are valid in a binary string; found "character".
005

Hexadecimal strings must be grouped in units that are multiples of two characters.
006

Binary strings must be grouped in units that are multiples of four characters.