XML Media Types
draft-ietf-appsawg-xml-mediatypes-01

The information below is for an old version of the document
Document Type Active Internet-Draft (appsawg WG)
Last updated 2013-05-28
Replaces draft-lilley-xml-mediatypes
Stream IETF
Intended RFC status (None)
Formats plain text pdf html
Stream WG state WG Document Feb 2014
Document shepherd Murray Kucherawy
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                          C. Lilley
Internet-Draft                                                       W3C
Obsoletes: 3023 (if approved)                                  M. Murata
Updates: 4288, 4289, 6839 (if approved)International University of Japan
Intended status: Standards Track                             A. Melnikov
Expires: November 29, 2013                                    Isode Ltd.
                                                          H. S. Thompson
                                                 University of Edinburgh
                                                            May 28, 2013

                            XML Media Types
                  draft-ietf-appsawg-xml-mediatypes-01

Abstract

   This specification standardizes three media types -- application/xml,
   application/xml-external-parsed-entity, and application/xml-dtd --
   for use in exchanging network entities that are related to the
   Extensible Markup Language (XML) while defining text/xml and text/
   xml-external-parsed-entity as aliases for the respective application/
   types.  This specification also standardizes a convention (using the
   suffix '+xml') for naming media types outside of these five types
   when those media types represent XML MIME entities.

   Major differences from [RFC3023] are alignment of charset handling
   for text/xml and text/xml-external-parsed-entity with application/
   xml, the addition of XPointer and XML Base as fragment identifiers
   and base URIs, respectively, mention of the XPointer Registry, and
   updating of many references.

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 November 29, 2013.

Lilley, et al.         Expires November 29, 2013                [Page 1]
Internet-Draft              XML Media Types                     May 2013

Copyright Notice

   Copyright (c) 2013 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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Notational Conventions  . . . . . . . . . . . . . . . . . . .   3
   3.  XML Media Types . . . . . . . . . . . . . . . . . . . . . . .   4
     3.1.  Application/xml Registration  . . . . . . . . . . . . . .   7
     3.2.  Text/xml Registration . . . . . . . . . . . . . . . . . .   9
     3.3.  Application/xml-external-parsed-entity Registration . . .   9
     3.4.  Text/xml-external-parsed-entity Registration  . . . . . .  10
     3.5.  Application/xml-dtd Registration  . . . . . . . . . . . .  10
     3.6.  Charset considerations  . . . . . . . . . . . . . . . . .  11
       3.6.1.  Background  . . . . . . . . . . . . . . . . . . . . .  12
   4.  The Byte Order Mark (BOM) and Conversions to/from the UTF-16
       Charset . . . . . . . . . . . . . . . . . . . . . . . . . . .  12
   5.  Fragment Identifiers  . . . . . . . . . . . . . . . . . . . .  12
   6.  The Base URI  . . . . . . . . . . . . . . . . . . . . . . . .  13
   7.  XML Versions  . . . . . . . . . . . . . . . . . . . . . . . .  14
   8.  A Naming Convention for XML-Based Media Types . . . . . . . .  14
     8.1.  Referencing . . . . . . . . . . . . . . . . . . . . . . .  16
   9.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .  16
     9.1.  application/xml or text/xml with Omitted Charset and
           8-bit MIME entity . . . . . . . . . . . . . . . . . . . .  17
     9.2.  application/xml or text/xml with Omitted Charset and
           16-bit MIME entity  . . . . . . . . . . . . . . . . . . .  17
     9.3.  application/xml or text/xml with UTF-8 Charset  . . . . .  17
Show full document text