Oracle Message LPX-00219 - invalid digit ~c in character reference

ERRORinvalid digit ~c in character reference
CAUSEAn invalid digit was found in a character reference.
ACTIONCharacter references are either &#DDD; where Ds are decimal digits, or &#xHHH; where Hs are hexadecimal digits.