Network Working Group E. Wilde
Internet-Draft EMC
Updates: 5261 (if approved) February 21, 2013
Intended status: Standards Track
Expires: August 25, 2013
A Media Type for XML Patch Operations
draft-wilde-xml-patch-04
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 [14].
Online access to all versions and files is available on github [15].
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 August 25, 2013.
Copyright Notice
Wilde Expires August 25, 2013 [Page 1]
Internet-Draft XML Patch February 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. Patch Document Format . . . . . . . . . . . . . . . . . . . . 3
3. Patch Examples . . . . . . . . . . . . . . . . . . . . . . . . 5
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 5
5. Security Considerations . . . . . . . . . . . . . . . . . . . 6
6. Implementation Hints . . . . . . . . . . . . . . . . . . . . . 6
6.1. Matching Namespaces . . . . . . . . . . . . . . . . . . . 6
6.2. Patching Namespaces . . . . . . . . . . . . . . . . . . . 7
7. Implementation Status . . . . . . . . . . . . . . . . . . . . 9
8. Change Log . . . . . . . . . . . . . . . . . . . . . . . . . . 10
8.1. From -03 to -04 . . . . . . . . . . . . . . . . . . . . . 10
8.2. From -02 to -03 . . . . . . . . . . . . . . . . . . . . . 10
8.3. From -01 to -02 . . . . . . . . . . . . . . . . . . . . . 10
8.4. From -00 to -01 . . . . . . . . . . . . . . . . . . . . . 10
9. References . . . . . . . . . . . . . . . . . . . . . . . . . . 10
9.1. Normative References . . . . . . . . . . . . . . . . . . . 10
9.2. Non-Normative References . . . . . . . . . . . . . . . . . 11
Appendix A. Updates to RFC 5261 . . . . . . . . . . . . . . . . . 12
A.1. Section 4.2.2 . . . . . . . . . . . . . . . . . . . . . . 12
A.2. Section 4.4.3 . . . . . . . . . . . . . . . . . . . . . . 13
A.3. Section 8 . . . . . . . . . . . . . . . . . . . . . . . . 13
A.4. XSD for RFC 5261 . . . . . . . . . . . . . . . . . . . . . 14
A.5. ABNF for RFC 5261 . . . . . . . . . . . . . . . . . . . . 16
Appendix B. Acknowledgements . . . . . . . . . . . . . . . . . . 17
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . . 17
Wilde Expires August 25, 2013 [Page 2]
Internet-Draft XML Patch February 2013
1. Introduction