Message Oracle LPX-00231 - invalid character ~1u (~2c) found in a Name or Nmtoken

ERRORinvalid character ~1u (~2c) found in a Name or Nmtoken
CAUSEAn invalid character was found in a NAME or NMTOKEN.
ACTIONUse only the characters allowed for NAMES and NMTOKENS by the XML specification.