"Could not parse the lockinfo, malformed xml request", null);
}
String owner = null;
DAVLockScope lockScope = DAVLockScope.UNKNOWN;
DAVLockType lockType = DAVLockType.UNKNOWN;
for (Iterator childrenIter = rootElement.getChildren().iterator(); childrenIter.hasNext();) {
DAVElementProperty childElement = (DAVElementProperty) childrenIter.next();
DAVElement childElementName = childElement.getName();
if (childElementName == DAVElement.LOCK_TYPE && childElement.getChildren() != null && lockType == DAVLockType.UNKNOWN) {
DAVElementProperty writeChild = childElement.getChild(DAVElement.WRITE);