will pass the "litmus" DAV test tool.
In particular, we need to properly handle empty namespaces properly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94482
13f79535-47bb-0310-9956-
ffa450edef68
/* within the prop values, we use "ns%d" for prefixes... register them */
for (ns = 0; ns < db->ns_count; ++ns, uri += strlen(uri) + 1) {
+ /* Empty URIs signify the empty namespace. These do not get a
+ namespace prefix. when we generate the value, we will simply
+ leave off the prefix, which is defined by mod_dav to be the
+ empty namespace. */
+ if (*uri == '\0')
+ continue;
+
/* ns_table.buf can move, so copy its value (we want the values to
last as long as the provided dav_xmlns_info). */
dav_xmlns_add(xi,