W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > July to September 2007

inconsistent reporting of DAV:error inside multistatus responses

From: Paritosh Shah <shah.paritosh@gmail.com>
Date: Mon, 2 Jul 2007 13:39:43 +0530
Message-ID: <1b4c87db0707020109gba3e52fsdc0d727236ecf875@mail.gmail.com>
To: w3c-dist-auth@w3.org

Hi all,

There are a few inconsistencies in the way DAV:error is to be reported
inside a multi-status response as per different RFCs.

According to RFC3253 ( http://tools.ietf.org/html/rfc3253#section-1.6 ) :-
"In a 207 Multi-Status response, the DAV:error element would appear in
the appropriate DAV:responsedescription element."
(RFC3744 also follows this definition)
Example - http://tools.ietf.org/html/rfc3744#section-5.1.2

According to RFC2518bis
(http://www.greenbytes.de/tech/webdav/draft-ietf-webdav-rfc2518bis-latest.html#pre_post)
"In a 207 Multi-Status response, the XML element MUST appear inside an
'error' element in the appropriate 'propstat or 'response' element
depending on whether the condition applies to one or more properties or
to the resource as a whole"
Example -
http://www.greenbytes.de/tech/webdav/draft-ietf-webdav-rfc2518bis-latest.html#DELETE-example

Do both types need to be supported ( depending on the request - basic
vs versioning ) ? Or, after 2518bis is published, would it supercede
3253's definition ?

Thanks,
Paritosh.
Received on Monday, 2 July 2007 15:45:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 10 December 2014 20:02:55 UTC