code: private static boolean setName(String ns, String name, Schema property) {
          boolean apply = false;
          final String cleanName = StringUtils.trimToNull(name);
          final String useName;
          if (!isEmpty(cleanName) && !cleanName.equals(((SchemaImpl) property).getName())) {
              useName = cleanName;
              apply = true;
          } else {
              useName = null;
          }
          final String cleanNS = StringUtils.trimToNull(ns);
          final String useNS;
          if (!isEmpty(cleanNS)) {
              useNS = cleanNS;
              apply = true;
          } else {
              useNS = null;
          }
          // Set everything or nothing
          if (apply) {
              getXml(property).name(useName).namespace(useNS);
          }
          return apply;
      }
docs: Puts name space and name for XML node or attribute.
  
  @param ns name space
  @param name name
  @param property property instance to be updated
  @return <code>true</code> if name space and name have been set