Network Working GroupA. Brown
Internet-DraftG. Clemm
Intended status: InformationalIBM
Expires: September 2010J. Reschke, Editor
greenbytes
March 2010

Link Relation Types for Simple Version Navigation between Web Resources

Note: a later version of this document has been published as RFC 5829.

Abstract

This specification defines a set of link relation types that may be used on Web resources for navigation between a resource and  I andother resources related to version control, such as past versions and working copies.

Status of This Memo

This Internet-Draft is submitted to IETF in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as “work in progress”.

The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt.

The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html.

This Internet-Draft will expire in September 2010.

Copyright Notice

Copyright (c) 2010 IETF Trust and the persons identified as the document authors. All rights reserved.

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Simplified BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the BSD License.

 I  

Editorial Note (To be removed by RFC Editor before publication)

Please send comments to the Atom Syntax mailing list (<http://www.imc.org/atom-syntax/>).

Note that although discussion takes place on the Atompub working group's mailing list, this is not a working group document.

XML versions, latest edits and the issues list for this document are available from <http://greenbytes.de/tech/webdav/#draft-brown-versioning-link-relations>.


 I  auth48   (type: edit, status: closed)
julian.reschke@greenbytes.de2010-03-26 Umbrella issue for changes made during the RFC Editor's AUTH48 period.
Associated changes in this document: <#rfc.change.auth48.1>, <#rfc.change.auth48.2>, 1, 2, 2, 2, 3, 3.1, 3.2, 3.2, 3.3, 3.3, 3.4, 3.5, 3.5, 3.5, 3.6, 3.6, 4, 5, 7.1, 7.2, A, A.1, A.1, A.1, A.1, A.1, <#rfc.change.auth48.29>.
 I  edit   (type: edit, status: closed)
julian.reschke@greenbytes.de2009-11-19 Umbrella issue for editorial fixes/enhancements.
Associated changes in this document: 7.2, del-8.

1. Introduction

This specification defines a set  I otof link relation types that may be used on Web resources that exist in a system that supports versioning to navigate among the different resources available, such as past versions and working copies.

These link relations are used in the AtomPub ([RFC5023]) bindings of the "Content Management Interoperability Services" (CMIS). See Section 3.4.3.1 of [CMIS]Section 3.4.3.3 of [CMIS] for further information.

2. Terminology

Versioned Resource

Version History

Predecessor, Successor

Working Copy

Checkout

Checkin

3. Link Relations

The following link relations are defined I :.

3.1.  I version-history'version-history'

When included on a versioned resource, this link points to a resource containing the version history for this resource.

3.2.  I latest-version'latest-version'

When included on a versioned resource, this link points to a resource containing the latest (e.g., current) version.

The latest version is defined by the system. For linear versioning systems, this is probably the latest version by timestamp. For systems that support branching, there will be multiple latest versions, one for each branch in the version history.

Some systems may allow  I multiplemore than one of these link relations.

3.3.  I working-copy'working-copy'

When included on a versioned resource, this link points to a working copy for this resource.

Some systems may allow  I multiplemore than one of these link relations.

3.4.  I working-copy-of'working-copy-of'

When included on a working copy, this link points to the versioned resource from which this working copy was obtained.

3.5.  I predecessor-version'predecessor-version'

When included on a versioned resource, this link points to a resource containing the predecessor version in the version history.

Some systems may allow  I multiplemore than one of these link relations in the case of  I a multiple branches merging.

3.6.  I successor-version'successor-version'

When included on a versioned resource, this link points to a resource containing the successor version in the version history.

Some systems may allow  I multiplemore than one of these link relations in order to support branching.

4. IANA Considerations

The link relations below  I are to behave been registered by IANA per Section 7.1 of [RFC4287]:

5. Security Considerations

Automated agents should take care when these relations cross administrative domains (e.g., the URI has a different authority than the current document). Such agents should also take care to detect circular references.

Care should be applied when versioned resources are subject to differing access policies. In this case, exposing links may leak information even if the linked resource itself is properly secured. In particular, the syntax of the link  I URI/IRItarget could expose sensitive information (see Section 16.2 of [RFC3253] for a similar consideration in WebDAV Versioning). Note that this applies to exposing link metadata in general, not only to links related to versioning.

6. Acknowledgments

Thanks to the members of Content Management Interoperability Services (CMIS) Technical Committee (TC) at OASIS for the initial proposal, and to Jan Algermissen for feedback during IETF review.

7. References

7.1. Normative References

[RFC4287]
Nottingham, M. and R. Sayre, “The Atom Syndication Format”, RFC 4287, December 2005.
[RFC4287]
Nottingham, M., Ed. and R. Sayre, Ed., “The Atom Syndication Format”, RFC 4287, December 2005.

7.2. Informative References

[CMIS]
Brown, A., Gur-Esh, E., McVeigh, R., and F. Muller, “Content Management Interoperability Services (CMIS) Version 1.0”, OASIS CMIS v1.0 Committee Draft 06, September 2009, <http://docs.oasis-open.org/cmis/CMIS/v1.0/cd04/cmis-spec-v1.0.html>.
Latest version available at <http://docs.oasis-open.org/cmis/CMIS/v1.0/cmis-spec-v1.0.html>
[CMIS]
Brown, A., Gur-Esh, E., McVeigh, R., and F. Mueller, “Content Management Interoperability Services (CMIS) Version 1.0”, OASIS Content Management Interoperability Services (CMIS) Version 1.0 Committee Specification 01, March 2010, <http://docs.oasis-open.org/cmis/CMIS/v1.0/cs01/cmis-spec-v1.0.html>.
Latest version available at <http://docs.oasis-open.org/cmis/CMIS/v1.0/cmis-spec-v1.0.html>
[JSR-283]
Day Software, Nuescheler, D., and P. Piegaze, “Content Repository API for Java(tm) Technology Specification”, Java Specification Request 283, August 2009, <http://www.day.com/specs/jcr/2.0/>.
[RFC3253]
Clemm, G., Amsden, J., Ellison, T., Kaler, C., and J. Whitehead, “Versioning Extensions to WebDAV (Web Distributed Authoring and Versioning)”, RFC 3253, March 2002.
[RFC5023]
Gregorio, J. and B. de hOra, “The Atom Publishing Protocol”, RFC 5023, October 2007.
Nottingham, M., “Web Linking”, Internet-Draft draft-nottingham-http-link-header-07 (work in progress), January 2010.
[WEB-LINKING]
Nottingham, M., “Web Linking”, Work in Progress, March 2010.

Appendix A. Relationship to Java Content Repository (JCR) and WebDAV

The link relations defined in Section 3 correspond to various properties used in WebDAV Versioning [RFC3253] and JCR [JSR-283]:

version-history

latest-version

working-copy

working-copy-of

predecessor-version

successor-version

 I  

del-1. Change Log (to be removed by RFC Editor before publication)

Authors' Addresses

Al Brown
IBM
3565 Harbor Blvd
Costa Mesa, California 92626
USA
Email: albertcbrown@us.ibm.com
Geoffrey Clemm
IBM
20 Maguire Road
Lexington, MA 02421
USA
Email: geoffrey.clemm@us.ibm.com
Julian F. Reschke (editor)
greenbytes GmbH
Hafenweg 16
Muenster, NW 48155
Germany
Email: julian.reschke@greenbytes.de
URI: http://greenbytes.de/tech/webdav/