Network Working Group Internet-Draft October 27, 2007 Intended status: Experimental Expires: April 29, 2008

Similar documents
Network Working Group Internet-Draft January 25, 2006 Expires: July 29, Feed Rank draft-snell-atompub-feed-index-05.txt. Status of this Memo

Network Working Group Internet-Draft August 2005 Expires: February 2, Atom Link No Follow draft-snell-atompub-feed-nofollow-00.

Network Working Group Internet-Draft August 2005 Expires: February 2, Atom Link No Follow draft-snell-atompub-feed-nofollow-03.

Intended status: Standards Track August 15, 2008 Expires: February 16, 2009

Network Working Group. Category: Informational January 2006

Network Working Group. Intended status: Standards Track Columbia U. Expires: March 5, 2009 September 1, 2008

Expires: October 9, 2005 April 7, 2005

Jabber, Inc. August 20, 2004

Intended status: Informational. B. Wyman October 2, 2007

Network Working Group Request for Comments: 4913 Category: Experimental July 2007

Request for Comments: 4329 April 2006 Category: Informational

Internet Engineering Task Force (IETF) February The application/tei+xml Media Type. Abstract

Category: Standards Track June Requesting Attributes by Object Class in the Lightweight Directory Access Protocol (LDAP) Status of This Memo

Expires in six months 24 October 2004 Obsoletes: RFC , , 3377, 3771

Category: Standards Track September MIB Textual Conventions for Uniform Resource Identifiers (URIs)

Internet-Draft September 5, 2004 Expires: March 6, The Atom Syndication Format draft-ietf-atompub-format-02. Status of this Memo

Category: Standards Track June 2006

Network Working Group Request for Comments: 3937 Category: Informational October 2004

Network Working Group. Category: Standards Track August Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Relay Agent Remote-ID Option

Category: Standards Track May Transport Layer Security Protocol Compression Methods

Network Working Group. Category: Informational April A Uniform Resource Name (URN) Namespace for the Open Geospatial Consortium (OGC)

Network Working Group Request for Comments: 4424 February 2006 Updates: 4348 Category: Standards Track

vcard Extensions for Instant Messaging (IM)

Request for Comments: 4633 Category: Experimental August 2006

Category: Standards Track October 2006

Internet-Draft. Boswijck Memex Consulting January 26, The Atom Syndication Format draft-ietf-atompub-format-05. Status of this Memo

Request for Comments: 4393 Category: Standards Track March MIME Type Registrations for 3GPP2 Multimedia Files

Intended status: Standards Track Expires: August 28, 2008 Hitachi A. Kobayashi NEC Corp. M. Stiemerling (Ed.) NEC Europe Ltd.

Request for Comments: 3932 October 2004 BCP: 92 Updates: 3710, 2026 Category: Best Current Practice

Request for Comments: May 2007

Internet-Draft September 1, 2005 Expires: March 5, Feed History: Enabling Incremental Syndication draft-nottingham-atompub-feed-history-04

Network Working Group. Category: Standards Track June Dynamic Host Configuration Protocol for IPv6 (DHCPv6) Relay Agent Subscriber-ID Option

Category: Informational October Common Format and MIME Type for Comma-Separated Values (CSV) Files

Request for Comments: 5179 Category: Standards Track May 2008

Category: Standards Track December 2007

Request for Comments: 3934 Updates: 2418 October 2004 BCP: 94 Category: Best Current Practice

Network Working Group Request for Comments: 4573 Category: Standard Track July MIME Type Registration for RTP Payload Format for H.

Network Working Group. Category: Standards Track July 2007

Category: Standards Track Cisco H. Tschofenig Nokia Siemens Networks August 2008

Request for Comments: Category: Standards Track January 2008

Network Working Group. February 2005

Mounting Web Distributed Authoring and Versioning (WebDAV) Servers

Network Working Group Request for Comments: 4143 Category: Standards Track Brandenburg November 2005

Network Working Group Request for Comments: August Address-Prefix-Based Outbound Route Filter for BGP-4

C. Martin ipath Services February A Policy Control Mechanism in IS-IS Using Administrative Tags

Request for Comments: 4759 Category: Standards Track Neustar Inc. L. Conroy Roke Manor Research November 2006

Network Working Group Request for Comments: 5235 January 2008 Obsoletes: 3685 Category: Standards Track

Request for Comments: 4680 Updates: 4346 September 2006 Category: Standards Track

Network Working Group. Category: Informational October 2005

RFC 4871 DomainKeys Identified Mail (DKIM) Signatures -- Update draft-ietf-dkim-rfc4871-errata-03-01dc

Network Working Group Request for Comments: 5138 Category: Informational February 2008

Category: Standards Track October Vendor-Identifying Vendor Options for Dynamic Host Configuration Protocol version 4 (DHCPv4)

Network Working Group. Category: Informational May OSPF Database Exchange Summary List Optimization

Isode Limited March 2008

Request for Comments: 3861 Category: Standards Track August 2004

Request for Comments: 5010 Category: Standards Track Cisco Systems, Inc. September 2007

Network Working Group Request for Comments: Cisco Systems, Inc. December 2005

Network Working Group. Updates: 3463, 4468, 4954 June 2008 Category: Best Current Practice. A Registry for SMTP Enhanced Mail System Status Codes

September The Internet Assigned Number Authority (IANA) tel Uniform Resource Identifier (URI) Parameter Registry. Status of This Memo

Network Working Group. Category: Standards Track Cisco Systems May 2007

Category: Standards Track Cisco Systems, Inc January The Secure Shell (SSH) Session Channel Break Extension

Category: Experimental June 2006

TCP Maintenance and Minor Extensions (tcpm) Intended status: Standards Track Expires: May 1, 2009 October 28, 2008

Category: Standards Track March Extensible Provisioning Protocol (EPP) Transport Over TCP

Request for Comments: 4315 December 2005 Obsoletes: 2359 Category: Standards Track. Internet Message Access Protocol (IMAP) - UIDPLUS extension

Category: Standards Track October 2006

Network Working Group. Category: Standards Track DENIC eg January 2005

Updates: 2409 May 2005 Category: Standards Track. Algorithms for Internet Key Exchange version 1 (IKEv1)

Network Working Group. Obsoletes: 2717, Category: Best Current Practice Adobe Systems February 2006

Intended Category: Standards Track Expires March 2006 September 2005

Network Working Group. Cisco Systems June 2007

Expires: December 9, 2005 June 07, The Atom Syndication Format draft-ietf-atompub-format-09. Status of this Memo

Network Working Group. Category: Standards Track June 2005

Network Working Group. Category: Standards Track Juniper Networks August 2008

Request for Comments: K. Norrman Ericsson June 2006

Network Working Group. N. Williams Sun Microsystems June 2006

Request for Comments: 4715 Category: Informational NTT November 2006

Request for Comments: 3968 Updates: 3427 December 2004 BCP: 98 Category: Best Current Practice

Network Working Group. February Media Gateway Control Protocol (MGCP) Redirect and Reset Package

Network Working Group Request for Comments: A. Zinin Alcatel-Lucent March 2007

Category: Standards Track Cisco Systems, Inc. March 2005

Request for Comments: 5079 Category: Standards Track December Rejecting Anonymous Requests in the Session Initiation Protocol (SIP)

Network Working Group Request for Comments: December 2004

Network Working Group Request for Comments: February 2006

Obsoletes: 2070, 1980, 1942, 1867, 1866 Category: Informational June 2000

October Network News Transfer Protocol (NNTP) Extension for Streaming Feeds

Category: Standards Track LabN Consulting, LLC July 2008

Network Working Group Request for Comments: 4792 Updates: 3641 January 2007 Category: Standards Track

Expires October 2005 Updates RFC 3280 April 2005

Network Working Group Request for Comments: 4147 Category: Informational August Proposed Changes to the Format of the IANA IPv6 Registry

Network Working Group. Category: Standards Track <draft-aboba-radius-iana-03.txt> 30 March 2003 Updates: RFC IANA Considerations for RADIUS

Network Working Group. Obsoletes: 3555 March 2007 Category: Standards Track

Network Working Group. Category: Standards Track June Protocol Independent Multicast (PIM) Bootstrap Router MIB

Request for Comments: 4142 Category: Standards Track Nine by Nine November 2005

Request for Comments: 4509 Category: Standards Track May Use of SHA-256 in DNSSEC Delegation Signer (DS) Resource Records (RRs)

Network Working Group Request for Comments: 4603 Category: Informational Cisco Systems July Additional Values for the NAS-Port-Type Attribute

HIIT L. Eggert Nokia April Host Identity Protocol (HIP) Registration Extension

Network Working Group Request for Comments: 4869 Category: Informational May Suite B Cryptographic Suites for IPsec. Status of This Memo

E. Lewis ARIN September 23, KEY RR Secure Entry Point Flag draft-ietf-dnsext-keyrr-key-signing-flag-09. Status of this Memo

IETF TRUST. Legal Provisions Relating to IETF Documents. February 12, Effective Date: February 15, 2009

Transcription:

Network Working Group J. Snell Internet-Draft October 27, 2007 Intended status: Experimental Expires: April 29, 2008 Status of this Memo Atom Publishing Protocol Feature Discovery draft-snell-atompub-feature-12.txt By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of 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 on April 29, 2008. Copyright Notice Copyright (C) The IETF Trust (2007). Abstract This document introduces extensions to the Atom Publishing Protocol Service Document format for expressing metadata about the behaviors, functions and capabilities supported by an Atom Publishing Protocol collection. Snell Expires April 29, 2008 [Page 1]

Table of Contents 1. Introduction......................... 3 2. Notational Conventions.................... 3 3. The f:features Element.................... 4 4. The f:feature element.................... 5 4.1. Example......................... 6 5. Feature Documents...................... 6 5.1. Example......................... 6 6. The "supportsdraft" Feature................. 7 7. The "ignoresdraft" Feature.................. 7 8. Security Considerations................... 7 9. IANA Considerations..................... 8 9.1. Content-type registration for application/atomfeature+xml.............. 8 10. Normative References..................... 9 Appendix A. Acknowledgements.................. 10 Author s Address......................... 10 Intellectual Property and Copyright Statements.......... 11 Snell Expires April 29, 2008 [Page 2]

1. Introduction This document introduces an extension to the Atom Publishing Protocol (Atompub) service document [RFC5023] format that allows for the documentation and discovery of behaviors, functions or capabilities supported by an Atompub collection. Examples of such capabilities can include the preservation of certain kinds of content, support for draft entries, support for the scheduled publication of entries, use of a particular set of Atom format extensions, and so on. Describing features using the mechanisms defined in this specification is currently considered to be largely experimental. While there are examples of such mechanisms being put to practical use in deployed applications, there is currently not enough collective implementation experience to determine whether the mechanism defined here is sufficient to fully address the general needs of Atom Publishing Protocol client and server implementations. Implementations and feedback are encouraged. 2. Notational Conventions The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14, [RFC2119]. This specification uses XML Namespaces [W3C.REC-xml-names-20060816] to uniquely identify XML element names. It uses the following namespace prefix for the indicated namespace URI; "f": "http://purl.org/atompub/features/1.0" This specification uses terms from the XML Infoset [W3C.REC-xml-infoset-20040204]. However, this specification uses a shorthand; the phrase "Information Item" is omitted when naming Element Information Items. Therefore, when this specification uses the terms "element" and "attribute" it is referring, respectively, to the Element and Attribute Information Items in Infoset terms. This specification uses the terms "atomuri" and "atomcommonattributes" from the non-normative RELAX NG Compact schema included in [RFC4287]. Where used, these serve the same purpose and have the same meaning as their use in [RFC4287]. Atom allows the use of IRIs [RFC3987]. Every URI [RFC3986] is also an IRI, so a URI may be used wherever below an IRI is named. There are two special considerations: (1) when an IRI that is not also a URI is given for dereferencing, it MUST be mapped to a URI using the Snell Expires April 29, 2008 [Page 3]

steps in Section 3.1 of [RFC3987] and (2) when an IRI is serving as an identifier, it MUST NOT be so mapped. Any element defined by this specification MAY have an xml:base attribute [W3C.REC-xmlbase-20010627]. When xml:base is used, it serves the function described in section 5.1.1 of [RFC3986], establishing the base URI (or IRI) for resolving any relative references found within the effective scope of the xml:base attribute. Any element defined by this specification MAY have an xml:lang attribute, whose content indicates the natural language for the element and its descendents. The language context is only significant for elements and attributes declared to be "Language- Sensitive". Requirements regarding the content and interpretation of xml:lang are specified in XML 1.0 [W3C.REC-xml-20060816], Section 2.12. 3. The f:features Element The f:features element is used in an app:collection element or as the root element of a Features Document as a container for zero or more f:feature elements. An f:features element MAY contain any number of f:feature elements but MUST NOT contain more than one with the same ref attribute value. The order in which f:feature elements appear within the f:features element is insignificant. An app:collection element MUST NOT contain more than one f:features element. inlinefeatures = element f:features { (feature*, undefinedcontent) } outoflinefeatures = element f:features { attribute href { atomuri } } features = inlinefeatures outoflinefeatures When used within an app:collection element, the f:features element MAY contain an "href" attribute, whose value MUST be an IRI reference Snell Expires April 29, 2008 [Page 4]

identifying a Features Document. If the "href" attribute is provided, the f:features element MUST be empty. 4. The f:feature element The f:feature element is used within an f:features element to declare a collection s support for a feature. feature = element f:feature { atomcommonattributes, attribute ref { atomuri }, attribute href { atomuri }?, attribute label { text }?, (anyelement)* } anyelement = element * - f:feature { (attribute * { text } text anyelement)* } The ref attribute specifies a globally unique IRI identifying a feature. The value of the ref attribute MUST be compared on a casesensitive, character-by-character basis. Relative references MUST NOT be used. The IRI is used strictly for identification and cannot be assumed to be dereferenceable. An optional href attribute MAY be used to specify a dereferenceable IRI of a human-readable description of the feature. Relative references MAY be used. The optional label attribute MAY be used to specify a human-readable label for the feature. The value of the label attribute is Language- Sensitive as defined by Section 2 of [RFC4287]. The f:feature element MAY contain a mix of text and any number of child elements and attributes from any XML namespace, with the exception of the f:feature element itself. Such markup is considered to be metadata applicable to the feature identified. Software agents MUST NOT stop processing or signal an error or change their behavior as a result of encountering such markup. The presence of a f:feature element is an indication that the collection supports the feature identified. The lack of a f:feature element identifying a particular feature indicates that support for that feature is unspecified. This does not mean that the feature is Snell Expires April 29, 2008 [Page 5]

not supported, only that the server has not explicitly declared support. There are no means by which a server can indicate that a given feature is unsupported. 4.1. Example The following is an example of a collection using the f:feature element to indicate its support for the app:draft element as defined by [RFC5023]. <service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/atom" xmlns:f="http://purl.org/atompub/features/1.0"> <workspace> <atom:title>my Workspace</atom:title> <collection href="..."> <atom:title>my Atom Collection</atom:title> <accept>application/atom+xml;type=entry</accept> <f:features> <f:feature ref="http://purl.org/atompub/features/1.0/supportsdraft" /> </f:features> </collection> </workspace> </service> 5. Feature Documents A Feature Document contains a listing of f:feature elements that can be referenced by multiple app:collection elements. Separating the list of f:features out into a separate document enables and promotes the reuse of features across multiple collections. The root of a Feature Document is the f:features element. The f:features element MUST NOT contain an href atribute. Feature documents are identified with the "application/atomfeature+xml" media type (see Section 9.1). 5.1. Example <?xml version="1.0?> <features xmlns="http://purl.org/atompub/features/1.0"> <feature ref="http://purl.org/atompub/features/1.0/supportsdraft" /> <feature ref="http://example.org/foo/supportsfoo" /> </features> Snell Expires April 29, 2008 [Page 6]

This Feature Document indicates support for the app:draft publishing control and a hypothetical extension. The following is an example of a collection using the f:features element to reference a Feature Document. <service xmlns="http://www.w3.org/2007/app" xmlns:atom="http://www.w3.org/2005/atom" xmlns:f="http://purl.org/atompub/features/1.0"> <workspace> <atom:title>my Workspace</atom:title> <collection href="..."> <atom:title>my Atom Collection</atom:title> <accept>application/atom+xml;type=entry</accept> <f:features href="http://example.org/features.xml" /> </collection> </workspace> </service> 6. The "supportsdraft" Feature The "supportsdraft" feature is used to indicate that a collection supports the use of the app:draft control element as defined by Section 13.1.1 of [RFC5023]. The IRI of the "supportsdraft" feature is: http://purl.org/atompub/features/1.0/supportsdraft 7. The "ignoresdraft" Feature The "ignoresdraft" feature is used to indicate that a collection will ignore the use of the app:draft control element as defined by Section 13.1.1 of [RFC5023]. The IRI of the "ignoresdraft" feature is: http://purl.org/atompub/features/1.0/ignoresdraft A server MUST NOT declare support for both the "supportsdraft" and "ignoresdraft" features within the a single app:collection element. 8. Security Considerations Specific features supported by a collection may introduce security considerations and concerns beyond those discussed by the Atom Publishing Protocol and Atom Syndication Format specifications. Implementors must refer to the specifications and description of each feature to determine the security considerations relevant to each. Snell Expires April 29, 2008 [Page 7]

Implementations of this specification handle URIs and IRIs. See Section 7 of [RFC3986] and Section 8 of [RFC3987] for security considerations related to their handling and use. 9. IANA Considerations This specification uses a new media type that conforms to the registry mechanism described in [RFC4288]. 9.1. Content-type registration for application/atomfeature+xml A Feature Document, when serialized as XML 1.0, can be identified with the following media type: MIME media type name: application MIME subtype name: atomfeature+xml Mandatory parameters: None. Optional parameters: "charset": This parameter has identical semantics to the charset parameter of the "application/xml" media type as specified in [RFC3023]. Encoding considerations: Identical to those of "application/xml" as described in [RFC3023], section 3.2. Security considerations: As defined in this specification. In addition, as this media type uses the "+xml" convention, it shares the same security considerations as described in [RFC3023], section 10. Interoperability considerations: There are no known interoperability issues. Published specification: This specification. Applications that use this media type: No known applications currently use this media type. Additional information: Magic number(s): As specified for "application/xml" in [RFC3023], section 3.2. File extension:.atomfeature Fragment identifiers: As specified for "application/xml" in [RFC3023], section 5. Base URI: As specified in [RFC3023], section 6. Macintosh File Type code: TEXT Person and email address to contact for further information: James Snell <jasnell@gmail.com> Snell Expires April 29, 2008 [Page 8]

Intended usage: COMMON Author/Change controller: IETF (iesg@ietf.org) Internet Engineering Task Force 10. Normative References [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, March 1997. [RFC3023] Murata, M., St. Laurent, S., and D. Kohn, "XML Media Types", RFC 3023, January 2001. [RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, January 2005. [RFC3987] Duerst, M. and M. Suignard, "Internationalized Resource Identifiers (IRIs)", RFC 3987, January 2005. [RFC4287] Nottingham, M., Ed. and R. Sayre, Ed., "The Atom Syndication Format", RFC 4287, December 2005. [RFC4288] Freed, N. and J. Klensin, "Media Type Specifications and Registration Procedures", BCP 13, RFC 4288, December 2005. [RFC5023] Gregorio, J. and B. de hora, "The Atom Publishing Protocol", RFC 5023, October 2007. [W3C.REC-xml-20060816] Paoli, J., Maler, E., Yergeau, F., Bray, T., and C. Sperberg-McQueen, "Extensible Markup Language (XML) 1.0 (Fourth Edition)", World Wide Web Consortium Recommendation REC-xml-20060816, August 2006, <http://www.w3.org/tr/2006/rec-xml-20060816>. [W3C.REC-xml-infoset-20040204] Tobin, R. and J. Cowan, "XML Information Set (Second Edition)", World Wide Web Consortium Recommendation RECxml-infoset-20040204, February 2004, <http://www.w3.org/tr/2004/rec-xml-infoset-20040204>. [W3C.REC-xml-names-20060816] Hollander, D., Tobin, R., Bray, T., and A. Layman, "Namespaces in XML 1.0 (Second Edition)", World Wide Web Consortium Recommendation REC-xml-names-20060816, August 2006, <http://www.w3.org/tr/2006/rec-xml-names-20060816>. Snell Expires April 29, 2008 [Page 9]

[W3C.REC-xmlbase-20010627] Marsh, J., "XML Base", World Wide Web Consortium Recommendation REC-xmlbase-20010627, June 2001, <http://www.w3.org/tr/2001/rec-xmlbase-20010627>. Appendix A. Acknowledgements The author acknowledges the feedback from the other members of the IETF Atom Publishing working group during the development of this specification. Author s Address James M Snell Phone: Email: jasnell@gmail.com URI: http://snellspace.com Snell Expires April 29, 2008 [Page 10]

Full Copyright Statement Copyright (C) The IETF Trust (2007). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Intellectual Property The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Acknowledgment Funding for the RFC Editor function is provided by the IETF Administrative Support Activity (IASA). Snell Expires April 29, 2008 [Page 11]