W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2001

Possible bug mod_dav 1.0.2

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 8 Aug 2001 14:31:19 +0200
To: <w3c-dist-auth@w3.org>
Message-ID: <JIEGINCHMLABHJBIGKBCMEFLCNAA.julian.reschke@gmx.de>

I was doing interop tests and encountered the following problem:

a) Set a dead property with no namespace, for instance by:

<propertyupdate xmlns="DAV:">
			<bar xmlns="">123</bar>

This works, no error is reported.

b) A PROPFIND however returns XML formatted like this:

<D:multistatus xmlns:D="DAV:">
<D:response xmlns:ns0="DAV:" xmlns:ns1=""  xmlns:lp0="DAV:"
			<lp0:getlastmodified>Wed, 08 Aug 2001 12:14:01 GMT</lp0:getlastmodified>
		<D:status>HTTP/1.1 200 OK</D:status>

Note the invalid namespace declaration xmlns:ns1="", which is correctly
rejected by MSXML and AElfred (Saxon), but sadfully accepted by Xerces [1].
Also note that the prefix isn't actually used in the property, so maybe this
can easily be fixed by not creating the namespace declaration at all.

[1] <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3040>
Received on Thursday, 9 August 2001 06:26:11 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:23 UTC