A Media Type for XML Patch Operations
draft-wilde-xml-patch-09

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2014-03-25
Stream ISE
Intended RFC status Informational
Formats plain text pdf html bibtex
IETF conflict review conflict-review-wilde-xml-patch
Stream ISE state In ISE Review
Consensus Boilerplate Unknown
Document shepherd None
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                           E. Wilde
Internet-Draft                                               UC Berkeley
Intended status: Informational                            March 25, 2014
Expires: September 26, 2014

                 A Media Type for XML Patch Operations
                        draft-wilde-xml-patch-09

Abstract

   The XML Patch document format defines an XML document structure for
   expressing a sequence of patch operations to be applied to an XML
   document.  The XML Patch document format builds on the foundations
   defined in RFC 5261.  This specification defines the also provides
   the media type registration "application/xml-patch+xml", to allow the
   use of XML Patch documents in, for example, HTTP conversations.

Note to Readers

   This draft should be discussed on the apps-discuss mailing list [1].

   Online access to all versions and files is available on github [2].

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 September 26, 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

Wilde                  Expires September 26, 2014               [Page 1]
Internet-Draft                  XML Patch                     March 2014

   (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.  Patch Documents  . . . . . . . . . . . . . . . . . . . . . . .  3
     2.1.  Patch Document Format  . . . . . . . . . . . . . . . . . .  4
     2.2.  Patch Examples . . . . . . . . . . . . . . . . . . . . . .  5
   3.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . .  6
   4.  Security Considerations  . . . . . . . . . . . . . . . . . . .  7
   5.  Change Log . . . . . . . . . . . . . . . . . . . . . . . . . .  7
     5.1.  From -08 to -09  . . . . . . . . . . . . . . . . . . . . .  7
     5.2.  From -07 to -08  . . . . . . . . . . . . . . . . . . . . .  7
     5.3.  From -06 to -07  . . . . . . . . . . . . . . . . . . . . .  8
     5.4.  From -05 to -06  . . . . . . . . . . . . . . . . . . . . .  8
     5.5.  From -04 to -05  . . . . . . . . . . . . . . . . . . . . .  8
     5.6.  From -03 to -04  . . . . . . . . . . . . . . . . . . . . .  8
     5.7.  From -02 to -03  . . . . . . . . . . . . . . . . . . . . .  8
     5.8.  From -01 to -02  . . . . . . . . . . . . . . . . . . . . .  9
     5.9.  From -00 to -01  . . . . . . . . . . . . . . . . . . . . .  9
   6.  References . . . . . . . . . . . . . . . . . . . . . . . . . .  9
     6.1.  Normative References . . . . . . . . . . . . . . . . . . .  9
     6.2.  Informative References . . . . . . . . . . . . . . . . . . 10
   Appendix A.  Implementation Hints  . . . . . . . . . . . . . . . . 11
     A.1.  Matching Namespaces  . . . . . . . . . . . . . . . . . . . 11
     A.2.  Patching Namespaces  . . . . . . . . . . . . . . . . . . . 12
   Appendix B.  Implementation Status . . . . . . . . . . . . . . . . 14
   Appendix C.  ABNF for RFC 5261 . . . . . . . . . . . . . . . . . . 15
   Appendix D.  Acknowledgements  . . . . . . . . . . . . . . . . . . 16
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 16

Wilde                  Expires September 26, 2014               [Page 2]
Internet-Draft                  XML Patch                     March 2014

1.  Introduction

   The Extensible Markup Language (XML) [RFC3023] is a common format for
   the exchange and storage of structured data.  HTTP PATCH [RFC5789]
   extends HTTP [RFC2616] with a method to perform partial modifications
   to resources.  HTTP PATCH requires that patch documents be sent along
   with the request, and it is therefore useful for there to be
   standardized patch document formats (identified by media types) for
Show full document text