W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > January to March 2008

Re: How to handle PROPFIND request with empty <prop> element?

From: Julian Reschke <julian.reschke@gmx.de>
Date: Sun, 30 Mar 2008 11:24:58 +0200
Message-ID: <47EF5C6A.70809@gmx.de>
To: Simon Perreault <simon.perreault@viagenie.ca>
CC: w3c-dist-auth@w3.org

Simon Perreault wrote:
> On Friday 28 March 2008 15:03:32 Julian Reschke wrote:
>> It's invalid, as <prop> should contain a child element specifying the
>> property.
> Did you find any text supporting that? Here's the DTD excerpt:
>    <!ELEMENT prop ANY >
> The XML spec isn't very clear on whether ANY may match an empty tag or not. I 
> couldn't find out for sure, but I would expect that it may.

No, the DTD can't express the constraint.

But consider:

"Request particular property values, by naming the properties desired 
within the 'prop' element (the ordering of properties in here MAY be 
ignored by the server)," -- 


"Contains properties related to a resource." -- 

I'm pretty sure that there's code out there that will fail if <prop> is 

BR, Julian
Received on Sunday, 30 March 2008 09:25:44 UTC

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