static String canonicalName(String elementOrAttribName){
  return elementOrAttribName.indexOf(':') >= 0 ? elementOrAttribName : Strings.toLowerCase(elementOrAttribName);
}

static String canonicalName ( String elementOrAttribName ) { return elementOrAttribName . indexOf ( ':' ) >= 0 ? elementOrAttribName : Strings . toLowerCase ( elementOrAttribName ) ; }
normalize case of names that are not name - spaced . this lower - cases html element and attribute names , but not ones for embedded svg or mathml .
