resp.setStatus(WebdavStatus.SC_MULTI_STATUS);
resp.setContentType("text/xml; charset=UTF-8");
// Create multistatus object
XMLWriter generatedXML = new XMLWriter(resp.getWriter());
generatedXML.writeXMLHeader();
generatedXML.writeElement(null, "multistatus xmlns=\"DAV:\"",
XMLWriter.OPENING);
if (depth == 0) {
parseProperties(req, generatedXML, path, propertyFindType,
properties, mimeTyper.getMimeType(path));