W3C home > Mailing lists > Public > ietf-dav-versioning@w3.org > January to March 2006

Re: The version element and workspaces

From: Geoffrey M Clemm <geoffrey.clemm@us.ibm.com>
Date: Wed, 29 Mar 2006 10:25:39 -0500
To: werner.donne@re.be
Cc: ietf-dav-versioning@w3.org
Message-ID: <OF97FA1797.C31610A0-ON85257140.005202C8-85257140.0054BE3F@us.ibm.com>
Werner wrote on 03/27/2006 06:14:10 AM:
> Is there a definition of that element, or any other? There doesn't
> seem to be a section "XML Element Definitions" as in RFC 2518.

The XML elements that appear in the body of a method are defined
in the section of the specification that defines that method.
The XML elements that are the value of a property are defined in
the section of the specification that defines that property.

> In a workspace the VERSION-CONTROL method can indicate a version
> of an existing version history. 

The variant of the VERSION-CONTROL method that
allows a version to be specified to create a VCR for an existing
version-history is defined in section 6.7. So the definition of
the version xml element appears there:
 
     <!ELEMENT version (href)>

An example of this is element is found in section 6.7.1.

     VERSION-CONTROL /ws/public/bar.html HTTP/1.1
     Host: www.webdav.org
     Content-Type: text/xml; charset="utf-8"
     Content-Length: xxxx

     <?xml version="1.0" encoding="utf-8" ?>
     <D:version-control xmlns:D="DAV:">
       <D:version>
         <D:href>http://repo.webdav.org/his/12/ver/V3</D:href>
       </D:version>
     </D:version-control>

> When the "label" feature is also
> supported the method could have additional semantics, where a label-name
> element may be added to the version element and where the href element
> could then refer to a version history or a VCR that is connected to
> that version history.

Yes, it logically could, but this is not defined in RFC 3253.

Cheers,
Geoff
Received on Wednesday, 29 March 2006 15:26:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 13:57:44 GMT