[apps-discuss] [Errata Verified] RFC7386 (4132)
RFC Errata System <rfc-editor@rfc-editor.org> Thu, 16 October 2014 14:56 UTC
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6CE861A1BA7; Thu, 16 Oct 2014 07:56:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.912
X-Spam-Level:
X-Spam-Status: No, score=-106.912 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NIy4xj76JnGV; Thu, 16 Oct 2014 07:56:35 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) by ietfa.amsl.com (Postfix) with ESMTP id A488F1A1BED; Thu, 16 Oct 2014 07:56:35 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 11DB9181C6B; Thu, 16 Oct 2014 07:56:31 -0700 (PDT)
To: bortzmeyer@nic.fr, paul.hoffman@vpnc.org, jasnell@gmail.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Message-Id: <20141016145631.11DB9181C6B@rfc-editor.org>
Date: Thu, 16 Oct 2014 07:56:31 -0700
Archived-At: http://mailarchive.ietf.org/arch/msg/apps-discuss/_ac3b27emv1Ssov-0aRXfgMo6W0
Cc: barryleiba@computer.org, iesg@ietf.org, apps-discuss@ietf.org, rfc-editor@rfc-editor.org
Subject: [apps-discuss] [Errata Verified] RFC7386 (4132)
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss/>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Oct 2014 14:56:38 -0000
The following errata report has been verified for RFC7386, "JSON Merge Patch". -------------------------------------- You may review the report below and at: http://www.rfc-editor.org/errata_search.php?rfc=7386&eid=4132 -------------------------------------- Status: Verified Type: Technical Reported by: Stéphane Bortzmeyer <bortzmeyer@nic.fr> Date Reported: 2014-10-15 Verified by: Barry Leiba (IESG) Section: 2 Original Text ------------- define MergePatch(Target, Patch): if Patch is an Object: if Target is not an Object: Target = {} # Ignore the contents and set it to an empty Object for each Name/Value pair in Patch: if Value is null: if Name exists in Target: remove the Name/Value pair from Target else: Target[Name] = MergePatch(Target[Name], Value) return Target else: return Patch Corrected Text -------------- define MergePatch(Target, Patch): if Patch is an Object: if Target is not an Object: Target = {} # Ignore the contents and set it to an empty Object for each Name/Value pair in Patch: if Value is null: if Name exists in Target: remove the Name/Value pair from Target else: Target[Name] = MergePatch(Target[Name], Value) return Target else: return Patch Notes ----- Indentation of the pseudo-code example was correct in the Internet-Drafts but was messed up in the final version. For instance, "Target = {}" should be under the two ifs. (Reported by James H. Manger on the appsawg mailing list.) This is a technical erratum, rather than editorial, because the correct indentation is essential to understanding the pseudocode. -------------------------------------- RFC7386 (draft-ietf-appsawg-json-merge-patch-07) -------------------------------------- Title : JSON Merge Patch Publication Date : October 2014 Author(s) : P. Hoffman, J. Snell Category : PROPOSED STANDARD Source : Applications Area Working Group Area : Applications Stream : IETF Verifying Party : IESG
- [apps-discuss] [Editorial Errata Reported] RFC738… RFC Errata System
- Re: [apps-discuss] [Editorial Errata Reported] RF… Manger, James
- Re: [apps-discuss] [Editorial Errata Reported] RF… Carsten Bormann
- Re: [apps-discuss] [Editorial Errata Reported] RF… Carsten Bormann
- Re: [apps-discuss] [Editorial Errata Reported] RF… Barry Leiba
- [apps-discuss] [Errata Verified] RFC7386 (4132) RFC Errata System
- Re: [apps-discuss] [Editorial Errata Reported] RF… Tim Bray
- Re: [apps-discuss] [Editorial Errata Reported] RF… Carsten Bormann
- Re: [apps-discuss] [Editorial Errata Reported] RF… Paul Hoffman
- [apps-discuss] [Editorial Errata Reported] RFC738… Barry Leiba
- Re: [apps-discuss] [Editorial Errata Reported] RF… RFC Editor
- Re: [apps-discuss] [Editorial Errata Reported] RF… Pete Resnick
- Re: [apps-discuss] [Editorial Errata Reported] RF… Barry Leiba
- Re: [apps-discuss] [Editorial Errata Reported] RF… John C Klensin
- Re: [apps-discuss] [Editorial Errata Reported] RF… Pete Resnick
- Re: [apps-discuss] [Editorial Errata Reported] RF… Barry Leiba
- Re: [apps-discuss] [Editorial Errata Reported] RF… Julian Reschke
- Re: [apps-discuss] [Editorial Errata Reported] RF… John C Klensin
- Re: [apps-discuss] [Editorial Errata Reported] RF… Paul Hoffman
- Re: [apps-discuss] [Editorial Errata Reported] RF… t.petch