W3C home > Mailing lists > Public > w3c-dist-auth@w3.org > April to June 2001


From: Clemm, Geoff <gclemm@rational.com>
Date: Thu, 26 Apr 2001 11:59:04 -0400
Message-ID: <3906C56A7BD1F54593344C05BD1374B1018E2399@SUS-MA1IT01>
To: WebDAV WG <w3c-dist-auth@w3.org>
   From: Julian Reschke [mailto:julian.reschke@gmx.de]

   1) If you don't validate (and although the RFC shows DTD fragments, they
   can't be used for validation), any attribute can appear on any element.
   up the RFC to define what this means.

The RFC is equally capable of declaring that an attribute on a
paricular element type is syntactically illegal.  Whether or not the
XML "DTD validates" is not especially relevant or interesting (we have
many syntactic constraints in the protocol that cannot be expressed
conveniently in DTD form).

   2) The current RFC current defines that xml:lang is to be persisted, no
   matter whether it appears on the property element or an ancestor.

To be precise, RFC 2518 states:

   Language tagging information in the property's value (in the
   "xml:lang" attribute, if present) MUST be persistently stored along
   with the property, and MUST be subsequently retrievable using

This statement does not specify whether an xml:lang attribute
can appear in the DAV:prop element, or just in the actual property
value elements.  In other words, a statement of the form "no
attributes can be placed on a DAV:prop element" would not conflict
with this language in RFC 2518.

   3) Actually, I would prefer to state that *any* attribute can appear on
   property element, and that they all should be persisted. It makes the
   easier and would conform with Canonical XML.

Just to make sure we aren't talking past each other, I have very
different opinions on what we should allow on the DAV:prop element (I
prefer no attributes, but can live with "only xml:lang" or "only
attributes in the xml namespace"), and what we allow on the property
elements, e.g. DAV:displayname, DAV:getcontentlength, etc. (I prefer
all attributes allowed, and must be maintained by the server).

So when you say "any attribute can appear on a property element", if
you are referring to elements like "DAV:displayname", I agree with
you, but if you are referring to the DAV:prop element, I disagree.
And the spec is free to disallow attributes on DAV:prop but allow
attributes on elements like DAV:displayname.

Received on Thursday, 26 April 2001 11:57:04 UTC

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