Network Working GroupN. Walsh
Internet-DraftSun Microsystems
Intended status: Best CurrentJuly 12, 2007
Expires: January 13, 2008 

The 'application/docbook+xml' Media Type

Status of this Memo

By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet-Drafts.

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.”

The list of current Internet-Drafts can be accessed at

The list of Internet-Draft Shadow Directories can be accessed at

This Internet-Draft will expire on January 13, 2008.

Copyright Notice

Copyright © The IETF Trust (2007).


This document defines the 'application/docbook+xml' MIME media type for DocBook-based markup languages.

1.  Introduction

The DocBook specification has for many years included an appendix which defines a MIME media type for DocBook. This document makes that media type official.

2.  Registration of MIME media type application/docbook+xml

MIME media type name:
MIME subtype name:
Required parameters:
Optional parameters:
This parameter has identical semantics to the 'charset' parameter of the 'application/xml' media type as specified in RFC 3023[1] (Murata, M., St. Laurent, S., and D. Kohn, “XML Media Types,” January 2001.) or its successors.
Encoding considerations:
By virtue of DocBook XML content being XML, it has the same considerations when sent as 'application/docbook+xml' as does XML. See RFC 3023[1] (Murata, M., St. Laurent, S., and D. Kohn, “XML Media Types,” January 2001.), Section 3.2.
Security considerations:
Several DocBook elements may refer to arbitrary URIs. In this case, the security issues of RFC 3986[2] (Berners-Lee, T., Fielding, R., and L. Masinter, “Uniform Resource Identifier (URI): Generic Syntax,” January 2005.), section 7, should be considered.
Interoperability considerations:
Published specification:
This media type registration is for DocBook documents as described by DocBook: The Definitive Guide[3] (Walsh, N. and L. Muellner, “DocBook: The Definitive Guide,” October 1999.) or its successors.
Applications which use this media type:
There is no experimental, vendor specific, or personal tree predecessor to 'application/docbook+xml', reflecting the fact that no applications currently recognize it. This new type is being registered in order to allow for the deployment of DocBook on the World Wide Web, as a first class XML application.
Additional information:
Magic number(s):
There is no single initial octet sequence that is always present in DocBook documents.
file extension(s):
DocBook documents are most often identified with the extension '.xml'.
Macintosh File Type Code(s):
Person & email address to contact for further information:
Norman Walsh, Norman.Walsh@Sun.COM
Intended usage:
Author/Change controller:
DocBook is a work product of the DocBook Technical Committee at OASIS.

3.  Fragment identifiers

For documents labeled as 'application/docbook+xml', the fragment identifier notation is exactly that for 'application/xml', as specified in [1] (Murata, M., St. Laurent, S., and D. Kohn, “XML Media Types,” January 2001.) or its successors.

4.  Security Considerations

An XML Resource Identifier does not in itself pose a security threat. However, XML Resource Identifers are often converted to IRIs or URIs and subsequently used to provide a compact set of instructions for access to network resources, care must be taken to properly interpret the data within an XML Resource Identifier, to prevent that data from causing unintended access, and to avoid including data that should not be revealed in plain text.

5. References

[1] Murata, M., St. Laurent, S., and D. Kohn, “XML Media Types,” RFC 3023, January 2001.
[2] Berners-Lee, T., Fielding, R., and L. Masinter, “Uniform Resource Identifier (URI): Generic Syntax,” RFC 3986, January 2005.
[3] Walsh, N. and L. Muellner, “DocBook: The Definitive Guide,” October 1999.

Author's Address

  Norman Walsh
  Sun Microsystems
  1 Network Drive
  Building #2 MS UBUR02-201
  Burlington, MA 01803
Email:  Norman.Walsh@Sun.COM

Full Copyright Statement

Intellectual Property