Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E602F7040 for ; Fri, 9 Dec 2011 11:03:03 +0000 (UTC) Received: (qmail 82767 invoked by uid 500); 9 Dec 2011 11:03:03 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 82726 invoked by uid 500); 9 Dec 2011 11:03:03 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 82719 invoked by uid 99); 9 Dec 2011 11:03:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Dec 2011 11:03:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of julian.reschke@gmx.de designates 213.165.64.23 as permitted sender) Received: from [213.165.64.23] (HELO mailout-de.gmx.net) (213.165.64.23) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 09 Dec 2011 11:02:56 +0000 Received: (qmail invoked by alias); 09 Dec 2011 11:02:35 -0000 Received: from p5DCCB053.dip.t-dialin.net (EHLO [192.168.178.36]) [93.204.176.83] by mail.gmx.net (mp005) with SMTP; 09 Dec 2011 12:02:35 +0100 X-Authenticated: #1915285 X-Provags-ID: V01U2FsdGVkX19L5tB7Zj1LeqdCuInRWYP/9m0isLm1RXI8/ojIwz dQ2mi5ARNetj+u Message-ID: <4EE1EAC8.1000301@gmx.de> Date: Fri, 09 Dec 2011 12:02:32 +0100 From: Julian Reschke User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: dev@jackrabbit.apache.org CC: =?UTF-8?B?TWljaGFlbCBEw7xyaWc=?= Subject: Re: [Jackrabbit Wiki] Update of "Jsop" by ThomasMueller References: <20111209090645.25904.25876@eos.apache.org> <4EE1DE57.3030700@apache.org> In-Reply-To: <4EE1DE57.3030700@apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org On 2011-12-09 11:09, Michael Dürig wrote: > > > On 9.12.11 9:06, Apache Wiki wrote: >> Comment: >> Preserve order of child nodes >> >> '''addNodeDiff:''' >> * + pathString: object >> >> + The added node may contain child nodes. The order of child node is >> preserved, that means, when requesting the object, the child nodes >> will appear in the same order as they appear when the node was added. >> This only applies to child nodes however; it does not apply to the >> order of properties. For example, an implementation may sort the >> properties by name. >> + >> '''addPropertyDiff:''' >> * + pathString: propertyValue > > I wouldn't specify this here since this since this would effectively > break compatibility with the IETF JSON Patch [1]. Currently our compact > syntax seems to nicely map to the JSON Patch syntax (when augmented with > support for metadata and a reorder op) and vice versa. For the In the meantime, JSON Patch has a move operation: > ... Best regards, Julian