Status status = Status.parse(statusLine);
response = new MultiStatusResponse(href, status, responseDescription);
} else {
response = new MultiStatusResponse(href, responseDescription, TYPE_PROPSTAT);
// read propstat elements
ElementIterator it = DomUtil.getChildren(responseElement, XML_PROPSTAT, NAMESPACE);
while (it.hasNext()) {
Element propstat = it.nextElement();
String propstatus = DomUtil.getChildText(propstat, XML_STATUS, NAMESPACE);
Element prop = DomUtil.getChildElement(propstat, XML_PROP, NAMESPACE);
if (propstatus != null && prop != null) {
int statusCode = Status.parse(propstatus).getStatusCode();
ElementIterator propIt = DomUtil.getChildren(prop);
while (propIt.hasNext()) {
Element el = propIt.nextElement();
/*
always build dav property from the given element, since
distinction between prop-names and properties not having
a value is not possible.
retrieval of the set of 'property names' is possible from