private void buildResponse(DavResource res, DavPropertyNameSet propNameSet,
int depth, MultiStatus ms) {
// loop over members first, since this report only list members
DavResourceIterator it = res.getMembers();
while (!vhHrefSet.isEmpty() && it.hasNext()) {
DavResource childRes = it.nextResource();
if (childRes instanceof VersionControlledResource) {
try {
VersionHistoryResource vhr = ((VersionControlledResource)childRes).getVersionHistory();
if (vhHrefSet.remove(vhr.getHref())) {
if (propNameSet.isEmpty()) {