W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2004

Re: set a property with an empty content

From: Antony Blakey <antony.blakey@ihug.com.au>
Date: Tue, 13 Apr 2004 11:18:48 +0930
Message-Id: <B52123F2-8CEC-11D8-9CBF-000393CE9EEE@ihug.com.au>
Cc: "Webdav WG" <w3c-dist-auth@w3c.org>
To: "Stanley Guan" <stanley.guan@oracle.com>


On 13/04/2004, at 9:12 AM, Stanley Guan wrote:

> If a property is set with an empty content as shown below,
> is it allowed?

Yes. Although if that's your property, best not to use the DAV: 
namespace.

> If yes, is it equivalent to "remove"?

No. The property will be returned as you have set it i.e. an empty XML 
element, which is different from the property not existing.

Antony Blakey
-------------
He who would make his own liberty secure, must guard even his enemy 
from repression.
   -- Thomas Paine
Received on Monday, 12 April 2004 21:48:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:06 GMT