value = DAVUtil.xmlEncode(value);
    private static StringBuffer appendProperty(StringBuffer buffer, String name, String value) {        buffer.append("<");        int index = buffer.length();        if (name.startsWith("svn:")) {            buffer.append("S:");            buffer.append(name.substring("svn:".length()));        } else {            buffer.append("C:");            buffer.append(name);        }        int index2 = buffer.length();        if (value == null) {            return buffer.append(" />");        }        buffer.append(">");        value = DAVUtil.xmlEncode(value);        buffer.append(value);        buffer.append("</");        buffer.append(buffer.substring(index, index2));        return buffer.append(">");            }