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

WebDAV properties

From: Adam Klatzkin <Adam.Klatzkin@bentley.com>
Date: Mon, 20 Nov 2000 14:09:40 -0500
Message-ID: <93C0BE6A6D6AD211BC7400A0C9D8FE87021C9EE7@exton1.bentley.com>
To: "'w3c-dist-auth@w3.org'" <w3c-dist-auth@w3.org>
From section 4.5 of RFC 2518

> The property namespace is flat; that is, no hierarchy of properties is
explicitly recognized.  
> Thus, if a property A and a property A/B exist on a resource, there is no
recognition of any 
> relationship between the two properties. . . .
> ... it is not possible to define the same property twice on a single
resource, as this would 
> cause a collision in the resource's property namespace.

Example from section 8.2.2

<?xml version="1.0" encoding="utf-8" ?>
<D:propertyupdate xmlns:D="DAV:"
          <Z:Author>Jim Whitehead</Z:Author>
          <Z:Author>Roy Fielding</Z:Author>

Unless I am interpreting this incorrectly, the example seems to violate the
definition of the property namespace as described in section 4.5.
Can anybody provide any insight into this?
One thought is that maybe
          <Z:Author>Jim Whitehead</Z:Author>
          <Z:Author>Roy Fielding</Z:Author>
is itself the value that should be stored for the Z:authors property?
If that is the case then how do I prevent an XML parser from parsing the
element tags?  Do I have to attempt to rebuild this string from the parsed
data and store it?

Thanks for any help,
Adam Klatzkin
Software Engineer
Bentley Systems
Received on Monday, 20 November 2000 14:10:00 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:22 UTC