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

Re: DAV:privilege element - multiple child elements?

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 09 Jun 2010 13:32:31 +0200
Message-ID: <4C0F7BCF.7000206@gmx.de>
To: "Weber, Heiko" <Heiko.Weber@softwareag.com>
CC: WebDAV <w3c-dist-auth@w3.org>
On 09.06.2010 12:06, Weber, Heiko wrote:
> ...
> If we allow user defined elements, why do we then want to limit it to be
> an element without attributes and sub elements though?
> ...

In general, it depends on the context. For instance, DAV:property can be 
just a name (in the PROPFIND request), or contain stuff (in PROPPATCH, 
and the PROPFIND result).

> ...
> If all we are interested in is the QName of the element it would make
> much more sense to simply put an attribute into the DAV:privilege
> element containing the QName of the privilege. Ok, that was modeled
> differently historically, so possibly we just have to live with that.
> ...

WebDAV mostly avoids attributes, and furthermore processing QNames in 
content is very easy to get wrong; thus sticking with elements IMHO was 
the right design decision.

Best regards, Julian
Received on Wednesday, 9 June 2010 11:33:09 UTC

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