bug 355813 - Fixes nsIWebDAVService.getResourceProperties to use the DAV namespace. Patch by Bruno Browning <browning@uwalumni.com>, r=ctalbert,mvl npotdb

This commit is contained in:
mattwillis%gmail.com 2006-10-28 18:19:17 +00:00
parent 8a6036ebe4
commit 4cfc0f6397

View File

@ -410,8 +410,9 @@ PropfindStreamListener::ProcessResponse(nsIDOMElement *responseElt)
LOG(("response for %s: %d", href.get(), statusCode));
nsCOMPtr<nsIDOMNodeList> proplist;
rv = responseElt->GetElementsByTagName(NS_LITERAL_STRING("propstat"),
getter_AddRefs(proplist));
rv = responseElt->GetElementsByTagNameNS(NS_LITERAL_STRING("DAV:"),
NS_LITERAL_STRING("propstat"),
getter_AddRefs(proplist));
NS_ENSURE_SUCCESS(rv, rv);
PRUint32 length;