Re: [apps-discuss] Last Call: <draft-ietf-appsawg-json-pointer-07.txt> (JSON Pointer) to Proposed Standard

Robert Sayre <sayrer@gmail.com> Sun, 06 January 2013 05:25 UTC

Return-Path: <sayrer@gmail.com>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C2AC021F8753; Sat, 5 Jan 2013 21:25:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IvHT6tDIrukH; Sat, 5 Jan 2013 21:25:41 -0800 (PST)
Received: from mail-we0-f171.google.com (mail-we0-f171.google.com [74.125.82.171]) by ietfa.amsl.com (Postfix) with ESMTP id D330D21F873C; Sat, 5 Jan 2013 21:25:40 -0800 (PST)
Received: by mail-we0-f171.google.com with SMTP id u3so9065471wey.30 for <multiple recipients>; Sat, 05 Jan 2013 21:25:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=65iawI3jB5FxP+ZcgrYq6XU0Ocp9ArB1mf44MYln13c=; b=fzdavCgh9eyvwZZGfIsj75/dnRlVUjmj9RbwEYIjgoIHhu1xUKksEgYlk6D0hoedmG nBW8uulRS5ohZRFDN9Q41GGqHJvBfy1EiB22kln1omTkqqwnaz/BGQnGwCgbprQBa0h4 lJG4nV7li0w45fREiUiA5FiopNtuUUMyKEceA1ktIv7zNQ5XL5YoP/j28VIvkafzxFuS LBp+WnCZ5sDMJEpGcgGg8OazK/DJ9zGH+t2Sf3TOF0j8I5O9IvKip1IhXFuTl2Y6E0M1 bvXIsqhWaPodtor4pdHb7xSKMT1E8jdNsburipVvYtdUvfWfbtAI6SB3BQXuawJDT/TV fH1Q==
MIME-Version: 1.0
Received: by 10.194.76.99 with SMTP id j3mr90845663wjw.47.1357449940101; Sat, 05 Jan 2013 21:25:40 -0800 (PST)
Received: by 10.194.1.101 with HTTP; Sat, 5 Jan 2013 21:25:40 -0800 (PST)
In-Reply-To: <CABP7RbcQARMAvisv4zUPX7+t97MQ_vwizBCiUBt6Nc7y7CapYQ@mail.gmail.com>
References: <20121211150057.28223.93310.idtracker@ietfa.amsl.com> <50cb04b9.86df440a.72fe.1e20SMTPIN_ADDED_BROKEN@mx.google.com> <CABP7RbeNsZ_rBWRjou=VG+hBhUKaOz+y1a0sSChwWiHte9znnQ@mail.gmail.com> <50cb5f3c.694c420a.38fb.39afSMTPIN_ADDED_BROKEN@mx.google.com> <CAChr6SxZRc3B_HCbw76kLe2dsRSr43r-gLpfMVnCUfJTrZdTLA@mail.gmail.com> <CABP7RbfA33huBFadMeXTTEt=MkjW8-d4DFH7+GLXGurnm9sSRw@mail.gmail.com> <CAOXDeqpPE4eNy_qJpDPdPHbCQakG9-hDcNZ3Sj9r4kWedByVzQ@mail.gmail.com> <CAChr6SwtS_=iS-k4mJm1vHjEvvGVzay5jDYeGheqsPZqO-89CQ@mail.gmail.com> <EABB8F51-C3B4-49F5-8672-5C2ABAC7043A@mnot.net> <CAChr6Sx7JdKM91EwJaSZ0Ra_F4FSqkuc3vzTY1LM=F_8sWho+Q@mail.gmail.com> <263BA4B0-6401-4391-A369-A90863D9A4BC@mnot.net> <CAChr6Sw-hZwzB423qvkqyGfq8Aw6Jry-=B9zSzgp2GwbX6gQQg@mail.gmail.com> <E17FB936-BB87-4711-BEFB-21714B746B71@mnot.net> <CAChr6Sw_GJUE715G_E9DBSz57OvtVjzpU69nk9WwJzz3NPg8AA@mail.gmail.com> <CABP7RbcQARMAvisv4zUPX7+t97MQ_vwizBCiUBt6Nc7y7CapYQ@mail.gmail.com>
Date: Sat, 05 Jan 2013 21:25:40 -0800
Message-ID: <CAChr6Sxn1WXHb5cesUk8fa6=A6bxh8xhJW_WQ8mABPWbSZgtew@mail.gmail.com>
Subject: Re: [apps-discuss] Last Call: <draft-ietf-appsawg-json-pointer-07.txt> (JSON Pointer) to Proposed Standard
From: Robert Sayre <sayrer@gmail.com>
To: James M Snell <jasnell@gmail.com>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: Mark Nottingham <mnot@mnot.net>, IETF Discussion <ietf@ietf.org>, IETF Apps Discuss <apps-discuss@ietf.org>
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 06 Jan 2013 05:25:41 -0000

On Sat, Jan 5, 2013 at 8:55 PM, James M Snell <jasnell@gmail.com> wrote:
>
> On Jan 5, 2013 8:20 PM, "Robert Sayre" <sayrer@gmail.com> wrote:
>>
>> On Sat, Jan 5, 2013 at 6:59 PM, Mark Nottingham <mnot@mnot.net> wrote:
>> >
>> > Yes, you've brought that to our attention several times. If you wanted
>> > this spec to align with your software, it would have been much easier
>> > if you'd got involved before Last Call.
>>
>> Well, there shouldn't be any big adjustments to my software at all,
>> and the document generally looks good. This is just a bug: two parties
>> can apply the same patch and get different results, without
>> encountering an error.
>>
>
> Not seeing the bug... applying the same patch to different resources that
> have different states ought to have different results.

This argument is fallacious. Consider this JSON patch:

{ "op": "remove", "path": "/1" }

This patch can be generated by removing a key from a hashtable by the
sender, and then applied to an array by the recipient (which may
result in array shifts etc). A good quality patch format would not
permit such an obvious ambiguity, because applying that patch can fail
all parties. The resulting document does not reflect the intent of any
author.

I have obviously said my piece. And, fwiw, I don't think the IESG
should contradict the WG.

- Rob