code: public static boolean isXMLNameChar(int codePoint) {
          return isXMLNameStartCharacter(codePoint) || codePoint == '-' || codePoint == '.' || codePoint >= '0'
              && codePoint <= '9' || codePoint == 0xB7 || codePoint >= 0x0300 && codePoint <= 0x036F
              || codePoint >= 0x203F && codePoint <= 0x2040;
      }
docs: Determines if a character is an XML name character.
  
  @param codePoint
  The code point of the character to be tested. For UTF-8 and UTF-16
  characters the code point corresponds to the value of the char
  that represents the character.
  @return {@code true} if {@code codePoint} is an XML name start character,
  otherwise {@code false}