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

The information below is for an old version of the document
Document Type Active Internet-Draft (appsawg WG)
Last updated 2013-10-16
Replaces draft-lilley-xml-mediatypes
Stream IETF
Intended RFC status (None)
Formats plain text pdf html
Stream WG state Waiting for WG Chair Go-Ahead Feb 2014
Doc Shepherd Follow-up Underway
Document shepherd Murray Kucherawy
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                     H. S. Thompson
Internet-Draft                                   University of Edinburgh
Obsoletes: 3023 (if approved)                                  C. Lilley
Updates: 6839 (if approved)                                          W3C
Intended status: Standards Track                        October 16, 2013
Expires: April 19, 2014

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

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 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 April 19, 2014.

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

Thompson & Lilley        Expires April 19, 2014                 [Page 1]
Internet-Draft              XML Media Types                 October 2013

   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  . . . . . . . . . . . . . .   5
     3.2.  Text/xml Registration . . . . . . . . . . . . . . . . . .   7
     3.3.  Application/xml-external-parsed-entity Registration . . .   7
     3.4.  Text/xml-external-parsed-entity Registration  . . . . . .   8
     3.5.  Application/xml-dtd Registration  . . . . . . . . . . . .   8
     3.6.  Charset considerations  . . . . . . . . . . . . . . . . .   9
   4.  The Byte Order Mark (BOM) and Charset Conversions . . . . . .  10
   5.  Fragment Identifiers  . . . . . . . . . . . . . . . . . . . .  11
   6.  The Base URI  . . . . . . . . . . . . . . . . . . . . . . . .  12
   7.  XML Versions  . . . . . . . . . . . . . . . . . . . . . . . .  13
   8.  A Naming Convention for XML-Based Media Types . . . . . . . .  13
     8.1.  Referencing . . . . . . . . . . . . . . . . . . . . . . .  14
     8.2.  +xml Structured Syntax Suffix Registration  . . . . . . .  15
   9.  Examples  . . . . . . . . . . . . . . . . . . . . . . . . . .  16
     9.1.  UTF-8 Charset . . . . . . . . . . . . . . . . . . . . . .  17
     9.2.  UTF-16 Charset  . . . . . . . . . . . . . . . . . . . . .  17
     9.3.  Omitted Charset and 8-bit MIME entity . . . . . . . . . .  17
     9.4.  Omitted Charset and 16-bit MIME entity  . . . . . . . . .  18
     9.5.  Omitted Charset, no Internal Encoding Declaration and
           UTF-8 Entity  . . . . . . . . . . . . . . . . . . . . . .  18
     9.6.  UTF-16BE Charset  . . . . . . . . . . . . . . . . . . . .  19
     9.7.  Non-UTF Charset . . . . . . . . . . . . . . . . . . . . .  19
     9.8.  Omitted Charset with Internal Encoding Declaration  . . .  19
     9.9.  INCONSISTENT EXAMPLE: Conflicting Charset and Internal
           Encoding Declaration  . . . . . . . . . . . . . . . . . .  20
     9.10. INCONSISTENT EXAMPLE: Conflicting Charset and BOM . . . .  20
   10. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  21
   11. Security Considerations . . . . . . . . . . . . . . . . . . .  21
Show full document text