[Docs] [txt|pdf|xml] [Tracker] [Email] [Diff1] [Diff2] [Nits]

Versions: 00 01 02 03 06 RFC 6922

Network Working Group                                    Y. Shafranovich
Internet-Draft                                    Shaftek Enteprises LLC
Intended status: Informational                          December 3, 2012
Expires: June 6, 2013


                     The application/sql Media Type
                   draft-shafranovich-mime-sql-02.txt

Abstract

   This document registers the application/sql media type to be used for
   the Structured Query Language (SQL).

Status of this Memo

   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 June 6, 2013.

Copyright Notice

   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.






Shafranovich              Expires June 6, 2013                  [Page 1]

Internet-Draft       The application/sql Media Type        December 2012


Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . . . 3
   2.  Media Type Registration Application . . . . . . . . . . . . . . 3
   3.  IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 4
   4.  Security Considerations . . . . . . . . . . . . . . . . . . . . 4
   5.  Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . 5
   6.  References  . . . . . . . . . . . . . . . . . . . . . . . . . . 5
   Appendix A.  Status of This Document [To Be Removed Upon
                Publication] . . . . . . . . . . . . . . . . . . . . . 5
     A.1.  Discussion Venue  . . . . . . . . . . . . . . . . . . . . . 5
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . . . 5







































Shafranovich              Expires June 6, 2013                  [Page 2]

Internet-Draft       The application/sql Media Type        December 2012


1.  Introduction

   The Structured Query Language (SQL) has been in use for over 30 years
   with various types of database technologies.  However, there is no
   current media type registered for SQL.  Therefore, this document
   seeks to formally register the application/sql media type to be used
   for SQL with IANA.


2.  Media Type Registration Application

   This section provides the media type registration application which
   will be submitted to IANA after IESG approval of this document.

   Type name: application

   Subtype name: sql

   Required parameters: N/A

   Optional parameters:

      "charset" - indicates the character set to be used.  When not
      specified, US-ASCII should be assumed.

      Implementators should note that as per section 4.2.4, part 2 of
      [ISO.9075.2011], all SQL implementations are required to support
      US-ASCII, ISO-8859-1, UTF-8, UTF-16 and UTF-32 encodings.  Those
      should be the only valid values for the charset parameter unless
      some other agreement exists between the parties.

      When using [Unicode], the [ISO.9075.2011] standard dictates a
      preference of UTF-8 over UTF-16, and UTF-16 over UTF-32.

   Encoding considerations:charset

      When no character set is specified via the "charset" parameter or
      US-ASCII is specified, 7bit encoding is used.  When other
      character sets are used, 8bit or binary encoding may be required.

   Security considerations:

      Being that SQL is a full fledged programming language and may
      include embedded source code for other programming languages, it
      may be used to transfer malware, viruses and other malicious
      payloads.  Implementors and users are encouraged only to exchange
      SQL files among trusted parties and utilize all available security
      measures such as restricted access, virus scanners, etc. to



Shafranovich              Expires June 6, 2013                  [Page 3]

Internet-Draft       The application/sql Media Type        December 2012


      minimize risk.

   Interoperability considerations:

      While a single standard exists ([ISO.9075.2011]), vendor
      implementations of the standard vary significantly.  Implementors
      and users should make sure that the exchanged SQL files match to
      the specific database/tool and version that they are using.

   Published specification:

      The most recent specification of SQL is available in
      [ISO.9075.2011].

   Applications that use this media type:

      Databases and related tools

   Additional information:

      Magic number(s): N/A

      File extension(s): sql

      Macintosh File Type Code(s): TEXT

   Person & email address to contact for further information:

      Yakov Shafranovich <ietf@shaftek.org>

   Intended usage: COMMON

   Restrictions on usage: N/A

   Author/Change controller: IESG


3.  IANA Considerations

   After IESG approval, IANA is expected to register the MIME type
   application/sql using the application provided in Section 2 of this
   document.


4.  Security Considerations

   See discussion above




Shafranovich              Expires June 6, 2013                  [Page 4]

Internet-Draft       The application/sql Media Type        December 2012


5.  Acknowledgments

   To LTS, thanks for everything.

   The author would also like to thank all of the folks at
   xml.resource.org for providing many of the tools used for preparing
   RFCs and Internet drafts.

   A word of thanks to all members of the IANA's media-types list that
   provided feedback on this document.


6.  References

   [ISO.9075.2011]
              International Organization for Standardization, "ISO/IEC
              9075:2011, Information Technology - Database Languages -
              Structured Query Language (SQL)", 2011.

   [Unicode]  The Unicode Consortium, "The Unicode Standard, Version
              6.2.0", 2012.


Appendix A.  Status of This Document [To Be Removed Upon Publication]

A.1.  Discussion Venue

   Discussion about this document should be directed to IANA's media-
   types mailing list
   <https://www.ietf.org/mailman/listinfo/media-types> which is also
   reachable via <media-types@iana.org>.  Of course, comments directly
   to the author are always welcome.


Author's Address

   Yakov Shafranovich
   Shaftek Enteprises LLC

   Email: ietf@shaftek.org
   URI:   http://www.shaftek.org










Shafranovich              Expires June 6, 2013                  [Page 5]


Html markup produced by rfcmarkup 1.107, available from http://tools.ietf.org/tools/rfcmarkup/