public void append(String str) {
    String reason;

    if (str == null) {
      return;
    }
    if ((reason = Verifier.checkCharacterData(str)) != null) {
      throw new IllegalDataException(str, "character content", reason);
    }

    if (!str.isEmpty()) {
      value += str;
    }
  }
public void append(String str)