xmlBuffer);
SVNXMLUtil.openXMLTag(SVNXMLUtil.DAV_NAMESPACE_PREFIX, "prop", SVNXMLUtil.XML_STYLE_NORMAL, null,
xmlBuffer);
for (Iterator names = properties.nameSet().iterator(); names.hasNext();) {
String name = (String) names.next();
SVNPropertyValue value = properties.getSVNPropertyValue(name);
if (value != null) {
xmlBuffer = appendProperty(xmlBuffer, name, value);
}
}
SVNXMLUtil.closeXMLTag(SVNXMLUtil.DAV_NAMESPACE_PREFIX, "prop", xmlBuffer);
SVNXMLUtil.closeXMLTag(SVNXMLUtil.DAV_NAMESPACE_PREFIX, "set", xmlBuffer);
}
// if there are null values
if (hasNullValues(properties)) {
SVNXMLUtil.openXMLTag(SVNXMLUtil.DAV_NAMESPACE_PREFIX, "remove", SVNXMLUtil.XML_STYLE_NORMAL, null,
xmlBuffer);
SVNXMLUtil.openXMLTag(SVNXMLUtil.DAV_NAMESPACE_PREFIX, "prop", SVNXMLUtil.XML_STYLE_NORMAL, null,
xmlBuffer);
for (Iterator names = properties.nameSet().iterator(); names.hasNext();) {
String name = (String) names.next();
SVNPropertyValue value = properties.getSVNPropertyValue(name);
if (value == null) {
xmlBuffer = appendProperty(xmlBuffer, name, value);
}
}
SVNXMLUtil.closeXMLTag(SVNXMLUtil.DAV_NAMESPACE_PREFIX, "prop", xmlBuffer);