Fix namespace prefix issue for Apples cfnetwork clients

This commit is contained in:
Jörg Lehrke 2010-03-05 09:02:17 +00:00
parent 1e47770279
commit a3f27276bd

View File

@ -919,7 +919,7 @@ class HTTP_WebDAV_Server
// properties from namespaces != "DAV:" or without any namespace // properties from namespaces != "DAV:" or without any namespace
if ($prop['ns']) { if ($prop['ns']) {
if ($this->crrnd) { if ($this->crrnd) {
echo " <$prop[name]> xmlns:".$ns_hash[$prop['ns']]."=".'"'.$prop["ns"].'">' echo " <$prop[name] xmlns=".'"'.$prop["ns"].'">'
. $val . "</$prop[name]>\n"; . $val . "</$prop[name]>\n";
} else { } else {
echo " <" . $ns_hash[$prop["ns"]] . ":$prop[name]>" echo " <" . $ns_hash[$prop["ns"]] . ":$prop[name]>"