code: public static boolean isValidXmlNameChar(char ch, boolean colonEnabled)
      {
          return isValidXmlNameStartChar(ch, colonEnabled)
              || (ch == '-')
              || (ch == '.')
              || (ch >= '0' && ch <= '9')
              || (ch == 0xB7)
              || (ch >= 0x0300 && ch <= 0x036F)
              || (ch >= 0x203F && ch <= 0x2040);
      }
docs: Returns <code>true</code> if the given value is a valid XML name
  character.
  <p>
  See http://www.w3.org/TR/xml/#NT-NameChar.
  </p>
  
  @param ch the character to check
  @param colonEnabled if this flag is <code>true</code> then this method
  accepts the ':' symbol.
  @return <code>true</code> if the given value is a valid XML name
  character