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

Re: Using precondition names in XML

From: Julian Reschke <julian.reschke@gmx.de>
Date: Thu, 22 Sep 2005 10:19:03 +0200
Message-ID: <433268F7.6090903@gmx.de>
To: Wilfredo Sánchez Vega <wsanchez@wsanchez.net>
CC: Webdav WG <w3c-dist-auth@w3c.org>

Wilfredo Sánchez Vega wrote:
>   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:">
>  <D:supported-report/>
> </D:error>
> 
>   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?

DTDs in WebDAV specs aren't used for validation, what counts is the spec 
prose.

Unfortunately, only the newer specs are explicit about this, for 
instance: <http://greenbytes.de/tech/webdav/rfc3648.html#rfc.section.1>.

Best regards, Julian
Received on Thursday, 22 September 2005 18:01:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:44:09 GMT