XML Media Types
RFC 7303

 
Document Type RFC - Proposed Standard (July 2014; No errata)
Obsoletes RFC 3023
Updates RFC 6839
Last updated 2014-07-07
Replaces draft-lilley-xml-mediatypes
Stream IETF
Formats plain text pdf html
Stream WG state Submitted to IESG for Publication Feb 2014
Consensus Yes
Document shepherd Murray Kucherawy
Shepherd write-up Show (last changed 2014-02-26)
IESG IESG state RFC 7303 (Proposed Standard)
Telechat date
Responsible AD Barry Leiba
Send notices to appsawg-chairs@ietf.org, draft-ietf-appsawg-xml-mediatypes@ietf.org
IANA IANA review state Version Changed - Review Needed
IANA action state RFC-Ed-Ack
Internet Engineering Task Force (IETF)                       H. Thompson
Request for Comments: 7303                       University of Edinburgh
Obsoletes: 3023                                                C. Lilley
Updates: 6839                                                        W3C
Category: Standards Track                                      July 2014
ISSN: 2070-1721

                            XML Media Types

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 the '+xml' suffix for
   naming media types outside of these five types when those media types
   represent XML MIME entities.

Status of This Memo

   This is an Internet Standards Track document.

   This document is a product of the Internet Engineering Task Force
   (IETF).  It represents the consensus of the IETF community.  It has
   received public review and has been approved for publication by the
   Internet Engineering Steering Group (IESG).  Further information on
   Internet Standards is available in Section 2 of RFC 5741.

   Information about the current status of this document, any errata,
   and how to provide feedback on it may be obtained at
   http://www.rfc-editor.org/info/rfc7303.

Thompson & Lilley            Standards Track                    [Page 1]
RFC 7303                     XML Media Types                   July 2014

Copyright Notice

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

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Notational Conventions  . . . . . . . . . . . . . . . . . . .   4
     2.1.  Requirements Language . . . . . . . . . . . . . . . . . .   4
     2.2.  Characters, Encodings, Charsets . . . . . . . . . . . . .   4
     2.3.  MIME Entities, XML Entities . . . . . . . . . . . . . . .   5
   3.  Encoding Considerations . . . . . . . . . . . . . . . . . . .   6
     3.1.  XML MIME Producers  . . . . . . . . . . . . . . . . . . .   6
     3.2.  XML MIME Consumers  . . . . . . . . . . . . . . . . . . .   7
     3.3.  The BOM and Encoding Conversions  . . . . . . . . . . . .   8
   4.  XML Media Types . . . . . . . . . . . . . . . . . . . . . . .   9
     4.1.  XML MIME Entities . . . . . . . . . . . . . . . . . . . .   9
     4.2.  Using '+xml' when Registering XML-Based Media Types . . .  11
     4.3.  Registration Guidelines for XML-Based Media Types Not
           Using   '+xml'  . . . . . . . . . . . . . . . . . . . . .  12
   5.  Fragment Identifiers  . . . . . . . . . . . . . . . . . . . .  13
   6.  The Base URI  . . . . . . . . . . . . . . . . . . . . . . . .  14
   7.  XML Versions  . . . . . . . . . . . . . . . . . . . . . . . .  14
   8.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .  14
     8.1.  UTF-8 Charset . . . . . . . . . . . . . . . . . . . . . .  15

Thompson & Lilley            Standards Track                    [Page 2]
RFC 7303                     XML Media Types                   July 2014

     8.2.  UTF-16 Charset  . . . . . . . . . . . . . . . . . . . . .  16
     8.3.  Omitted Charset and 8-Bit MIME Entity . . . . . . . . . .  16
Show full document text