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

Using precondition names in XML

From: Wilfredo Sánchez Vega <wsanchez@wsanchez.net>
Date: Tue, 20 Sep 2005 16:50:37 -0700
To: Webdav WG <w3c-dist-auth@w3c.org>
Message-Id: <77E22F09-9D1F-42F1-91D3-D0100BC69A55@wsanchez.net>
   Section 3.1.5 of RFC 3253 (DAV + versioning) says defines  
DAV:supported-report as:

     <!ELEMENT supported-report report>

   Which means it has to have exactly one report element.

   But DAV:supported-report is also used as the name of a  
precondition in section 3.6, which means that one should return this  
XML, according to 1.6.1:

<?xml version="1.0"?>
<D:error xmlns:D="DAV:">

   Which is problematic since it uses an empty supported-report which  
is inconsistent with the element definition in 3.1.5.

   Am I reading this wrong?

   Also, I can't find an element definition for DAV:error in RFCs  
3253 or 2518.  Where is it defined?


Received on Tuesday, 20 September 2005 23:50:54 UTC

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