target.append(lockPath);
target.append(DAVUtil.xmlEncode(PathUtil.decode(lockPath)));
    public static StringBuffer generateLockDataRequest(StringBuffer target, String root, String path, Map locks) {        target = target == null ? new StringBuffer() : target;        target.append("<S:lock-token-list xmlns:S=\"svn:\">");        for (Iterator paths = locks.keySet().iterator(); paths.hasNext();) {            String lockPath = (String) paths.next();            if (path == null || isChildPath(path, lockPath)) {                String token = (String) locks.get(lockPath);                target.append("<S:lock><S:lock-path>");                lockPath = lockPath.substring(root.length());                lockPath = PathUtil.removeLeadingSlash(lockPath);                                target.append(lockPath);                target.append("</S:lock-path><S:lock-token>");                target.append(token);                target.append("</S:lock-token></S:lock>");            }        }        target.append("</S:lock-token-list>");        return target;    }