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

Julian Reschke <[email protected]> Mon, 07 Jun 2010 16:10:00 +0200
Newsgroups gmane.ietf.webdav
Message-ID <[email protected]>
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