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

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

From: Julian Reschke <julian.reschke@gmx.de>
Date: Mon, 07 Jun 2010 16:10:00 +0200
Message-ID: <4C0CFDB8.8000002@gmx.de>
To: Cyrus Daboo <cyrus@daboo.name>
CC: WebDAV <w3c-dist-auth@w3.org>
On 07.06.2010 15:40, Cyrus Daboo wrote:
> Hi,
> RFC3744 defines DAV:privilege as:
> <!ELEMENT privilege ANY>
> "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.

Best regards, Julian
Received on Monday, 7 June 2010 14:17:18 UTC

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