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

Re: ACL: DAV:privilege element - multiple child elements?

From: Cyrus Daboo <cyrus@daboo.name>
Date: Mon, 07 Jun 2010 10:18:53 -0400
To: Julian Reschke <julian.reschke@gmx.de>
cc: WebDAV <w3c-dist-auth@w3.org>
Message-ID: <FBC480398EC9B6AA5F76E543@cmu-294450.wv.cc.cmu.edu>
Hi Julian,

--On June 7, 2010 4:10:00 PM +0200 Julian Reschke <julian.reschke@gmx.de> 

>> "ANY" technically implies one or more child elements. However, all
>> examples in 3744 have just a single child. It has been my assumption
>> that only one child is allowed. However, I recently came across a server
>> that is returning multiple child elements. So what is, or is not,
>> allowed here?
> The spec really doesn't say.
> On the other hand, the intent is pretty clear, because in the cases where
> multiple privileges can be listed, it's the *parent* element that would
> occur multiple times.

Can you add a comment to your ACL spec update work to clarify this? I think 
some text for the two (yes there are two) DAV:privilege definitions making 
it clear that there is only one child would be good. Either that or the 
definition of DAV:privilege is given its own section with appropriate 
description of its content.

Cyrus Daboo
Received on Monday, 7 June 2010 14:19:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:44 UTC