Network Working Group | T. Hansen |
Internet-Draft | AT&T Laboratories |
Intended status: Standards Track | April 19, 2012 |
Expires: October 19, 2012 |
Additional Media Type Structured Syntax Suffixes
draft-hansen-media-type-suffix-regs-02
This document defines several Structured Syntax Suffixes for use with media type registrations. In particular, it defines and registers the "+json", "+ber", "+der", "+fastinfoset", "+wbxml" and "+zip" Structured Syntax Suffixes.
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet- Drafts is at http://datatracker.ietf.org/drafts/current/.
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."
This Internet-Draft will expire on October 19, 2012.
Copyright (c) 2012 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 Simplified BSD License.
[RFC3023] created the +xml suffix convention that may be used by media types whose representation uses XML underneath, that is, they could have been successfully parsed as if the media type had been application/xml in addition to their being parsed as their media type that is using the +xml suffix. [I-D.ietf-appsawg-media-type-regs] defines a registry to be used for future Structured Syntax Suffixes.
A variety of Structured Syntax Suffixes have already been used in some Media Type registration, in particular "+json", "+der", "+fastinfoset" and "+wbxml". This document defines and registers these Structured Syntax Suffixes in the Structured Syntax Suffix registry, along with "+ber" and "+zip".
Discussion of this document should occur in the Apps Area Working Group (apps-discuss@ietf.org). [RFC Editor note: remove this paragraph.]
Each of the Structured Syntax Suffixes defined in this document are appropriate for use when the media type identifies the semantics of the protocol payload. That is, knowing the semantics of the specific media type provides for more specific processing of the content than that afforded by generic processing of the underlying representation.
At the same time, using the suffix provides receivers of the media types to do generic processing of the underlying representation in cases where 1) they do not need to handle specially the particular semantics of the exact media type, and, 2) there is no special knowledge needed by such a generic processor in order to parse that underlying representation other than what would be needed to parse any example of that underlying representation.
[RFC4627] defines the "application/json" media type. The suffix "+json" may be used with any media type whose representation follows that established for "application/json". The Message Type Structured Syntax Suffix registration form follows:
The ITU defined the Basic Encoding Rules (BER) and Distinguished Encoding Rules (DER) message transfer syntaxes in [ITU.X690.2008]. The suffix "+ber" may be used with any media type whose representation follows the BER message transfer syntax. The suffix "+der" may be used with any media type whose representation follows the DER message transfer syntax. The Message Type Structured Syntax Suffix registration forms follows:
The ITU defined the Fast Infoset document format as a binary representation of the XML Information Set in [ITU.X891.2005]. These documents further define the "application/fastinfoset" media type. The suffix "+fastinfoset" may be used with any media type whose representation follows that established for "application/fastinfoset". The Message Type Structured Syntax Suffix registration form follows:
The WAP Forum has defined the WAP Binary XML (WBXML) document format as a binary representation of XML in [WBXML]. This document further defines the "application/vnd.wap.wbxml" media type. The suffix "+wbxml" may be used with any media type whose representation follows that established for "application/vnd.wap.wbxml". The Message Type Structured Syntax Suffix registration form follows:
The ZIP format is a public domain, cross-platform, interoperable file storage and transfer format, originally defined by PKWARE, Inc.; it supports compression and encryption and is used as the underlying representation by a variety of file formats. The media type "application/zip" has been registered for such files. The suffix "+zip" may be used with any media type whose representation follows that established for "application/zip". The Message Type Structured Syntax Suffix registration form follows:
See the Message Type Structured Syntax Suffix registration forms in Section 3 - Section 7.
See the Security considerations sections found in the Message Type Structured Syntax Suffix registration forms from Section 3 - Section 6.
[RFC4627] | Crockford, D., "The application/json Media Type for JavaScript Object Notation (JSON)", RFC 4627, July 2006. |
[ITU.X690.2008] | International Telecommunications Union, "Recommendation ITU-T X.690 | ISO/IEC 8825-1 (2008), ASN.1 encoding rules: Specification of basic encoding Rules (BER), Canonical encoding rules (CER) and Distinguished encoding rules (DER)", ITU-T Recommendation X.690, November 2008. |
[ITU.X891.2005] | International Telecommunications Union, "Recommendation ITU-T X.891 | ISO/IEC 24824-1 (2007), Generic applications of ASN.1: Fast infoset", ITU-T Recommendation X.891, May 2005. |
[WBXML] | Open Mobile Alliance, "Binary XML Content Format Specification", OMA Wireless Access Protocol WAP-192-WBXML-20010725-a, July 2001. |
[ZIP] | PKWARE, Inc., "APPNOTE.TXT - .ZIP File Format Specification", PKWARE .ZIP File Format Specification - Version 6.3.2, September 2007. |
[RFC3023] | Murata, M., St. Laurent, S. and D. Kohn, "XML Media Types", RFC 3023, January 2001. |
[I-D.ietf-appsawg-media-type-regs] | Klensin, J, Hansen, T and N Freed, "Media Type Specifications and Registration Procedures", Internet-Draft draft-ietf-appsawg-media-type-regs-01, February 2012. |
This section is to be removed before publication.