Re: The version element and workspaces

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 UTC