code: public static boolean isInvalidXMLNameChar (@Nonnull final EXMLSerializeVersion eXMLVersion, final int c)
    {
      switch (eXMLVersion)
      {
        case XML_10:
          return INVALID_NAME_CHAR_XML10.get (c);
        case XML_11:
          return INVALID_NAME_CHAR_XML11.get (c);
        case HTML:
          return INVALID_CHAR_HTML.get (c);
        default:
          throw new IllegalArgumentException ("Unsupported XML version " + eXMLVersion + "!");
      }
    }
docs: Check if the passed character is invalid for an element or attribute name
  after the first position
  
  @param eXMLVersion
  XML version to be used. May not be <code>null</code>.
  @param c
  char to check
  @return <code>true</code> if the char is invalid