W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > October to December 1999

can multiple propstat elements within response have same status

From: Jim Davis <jrd3@alum.mit.edu>
Date: Mon, 15 Nov 1999 14:22:22 +0100
Message-Id: <4.1.19991115141458.00ac9630@pop.xs4all.nl>
To: w3c-dist-auth@w3.org
The DTD allows a response for a given href to have multiple propstats.
But is it required that each such propstat have a different status?

Here's an example of a response frm Zope.  It seems to have grouped the
properties by XML namespace.  So there are three propstats, each with
status 200.

From the RFC, this seems legal to me.  it's a slight nuisance to process
but nothing extreme.  Just thought I'd ask for other opinions.  It is
legal, isn't it?

<?xml version="1.0"?>
<A:multistatus xmlns:A="DAV:">
        <B:defaulttitle xmlns:B="http://www.zope.org/propsets/"/>
      <A:status>HTTP/1.1 200 OK</A:status>
        <A:getlastmodified>Mon, 15 Nov 1999 13:05:38 GMT</A:getlastmodified>
      <A:status>HTTP/1.1 200 OK</A:status>
        <B:foo xmlns:B="http://nsa.gov/deadprop/foo">fish</B:foo>
      <A:status>HTTP/1.1 200 OK</A:status>
Received on Monday, 15 November 1999 08:24:07 UTC

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