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

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2013-10-08
Stream ISE
Intended RFC status Informational
Formats plain text pdf html bibtex
IETF conflict review conflict-review-wilde-xml-patch
Stream ISE state Response to Review Needed
Awaiting Reviews
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                                                       EMC
Updates: 5261 (if approved)                              October 8, 2013
Intended status: Standards Track
Expires: April 11, 2014

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

Abstract

   The XML Patch media type "application/xml-patch+xml" defines an XML
   document structure for expressing a sequence of patch operations that
   are applied to an XML document.  The XML Patch document format's
   foundations are defined in RFC 5261, this specification defines a
   document format and a media type registration, so that XML Patch
   documents can be labeled with a media type, for example in HTTP
   conversations.

   In addition to the media type registration, this specification also
   updates RFC 5261 in some aspects, limiting these updates to cases
   where RFC 5261 needed to be fixed, or was hard to understand.

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

Copyright Notice

Wilde                    Expires April 11, 2014                 [Page 1]
Internet-Draft                  XML Patch                   October 2013

   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.  Updates to RFC 5261  . . . . . . . . . . . . . . . . . . . . .  3
     2.1.  Section 4.2.2  . . . . . . . . . . . . . . . . . . . . . .  4
     2.2.  Section 4.4.3  . . . . . . . . . . . . . . . . . . . . . .  4
     2.3.  Section 8  . . . . . . . . . . . . . . . . . . . . . . . .  5
     2.4.  XSD for RFC 5261 . . . . . . . . . . . . . . . . . . . . .  6
     2.5.  ABNF for RFC 5261  . . . . . . . . . . . . . . . . . . . .  8
   3.  Patch Documents  . . . . . . . . . . . . . . . . . . . . . . .  8
     3.1.  Patch Document Format  . . . . . . . . . . . . . . . . . .  8
     3.2.  Patch Examples . . . . . . . . . . . . . . . . . . . . . . 10
   4.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 10
   5.  Security Considerations  . . . . . . . . . . . . . . . . . . . 11
   6.  Open Issues  . . . . . . . . . . . . . . . . . . . . . . . . . 11
   7.  Change Log . . . . . . . . . . . . . . . . . . . . . . . . . . 12
     7.1.  From -05 to -06  . . . . . . . . . . . . . . . . . . . . . 12
     7.2.  From -04 to -05  . . . . . . . . . . . . . . . . . . . . . 12
     7.3.  From -03 to -04  . . . . . . . . . . . . . . . . . . . . . 12
     7.4.  From -02 to -03  . . . . . . . . . . . . . . . . . . . . . 12
     7.5.  From -01 to -02  . . . . . . . . . . . . . . . . . . . . . 12
     7.6.  From -00 to -01  . . . . . . . . . . . . . . . . . . . . . 13
   8.  References . . . . . . . . . . . . . . . . . . . . . . . . . . 13
     8.1.  Normative References . . . . . . . . . . . . . . . . . . . 13
     8.2.  Non-Normative References . . . . . . . . . . . . . . . . . 13
   Appendix A.  Implementation Hints  . . . . . . . . . . . . . . . . 15
     A.1.  Matching Namespaces  . . . . . . . . . . . . . . . . . . . 15
     A.2.  Patching Namespaces  . . . . . . . . . . . . . . . . . . . 16
   Appendix B.  Implementation Status . . . . . . . . . . . . . . . . 17
   Appendix C.  Acknowledgements  . . . . . . . . . . . . . . . . . . 18
   Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 18

Wilde                    Expires April 11, 2014                 [Page 2]
Internet-Draft                  XML Patch                   October 2013
Show full document text