for (final Iterator itr = records.iterator(); itr.hasNext();) {
final Record record = (Record) itr.next();
if(record instanceof SRVRecord) {
result = compareSrvRecord(result, serviceInfo, record);
} else if(record instanceof TXTRecord) {
final String[] str = record.rdataToString().split("=");
final String key = str[0].substring(1);
final String value = str[1].substring(0, str[1].length() - 1);
final Object property = serviceInfo.getServiceProperties().getProperty(key);
if(property != null) {
result += value.equals(property.toString()) ? 1 : -1;