Re: [apps-discuss] draft-pbryan-zyp-json-pointer: name syntax for non-ASCII

"Paul C. Bryan" <paul.bryan@forgerock.com> Mon, 21 November 2011 21:51 UTC

Return-Path: <paul.bryan@forgerock.com>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DCAE11E80EF for <apps-discuss@ietfa.amsl.com>; Mon, 21 Nov 2011 13:51:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.67
X-Spam-Level:
X-Spam-Status: No, score=-6.67 tagged_above=-999 required=5 tests=[AWL=-0.072, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q5m0Ondt+L0x for <apps-discuss@ietfa.amsl.com>; Mon, 21 Nov 2011 13:51:30 -0800 (PST)
Received: from eu1sys200aog110.obsmtp.com (eu1sys200aog110.obsmtp.com [207.126.144.129]) by ietfa.amsl.com (Postfix) with SMTP id 5722D11E80ED for <apps-discuss@ietf.org>; Mon, 21 Nov 2011 13:51:29 -0800 (PST)
Received: from mail-iy0-f182.google.com ([209.85.210.182]) (using TLSv1) by eu1sys200aob110.postini.com ([207.126.147.11]) with SMTP ID DSNKTsrH0XSlU0v9/CUR048ctHk4t428gzGW@postini.com; Mon, 21 Nov 2011 21:51:29 UTC
Received: by mail-iy0-f182.google.com with SMTP id l21so11446835iak.13 for <apps-discuss@ietf.org>; Mon, 21 Nov 2011 13:51:12 -0800 (PST)
Received: by 10.231.44.196 with SMTP id b4mr3689802ibf.82.1321912272733; Mon, 21 Nov 2011 13:51:12 -0800 (PST)
Received: from [192.168.1.3] (S0106a021b762dbb3.vf.shawcable.net. [174.1.40.184]) by mx.google.com with ESMTPS id a2sm29012731igj.7.2011.11.21.13.51.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 21 Nov 2011 13:51:12 -0800 (PST)
Message-ID: <1321912269.1990.32.camel@neutron>
From: "Paul C. Bryan" <paul.bryan@forgerock.com>
To: IETF Apps Discuss <apps-discuss@ietf.org>
Date: Mon, 21 Nov 2011 13:51:09 -0800
In-Reply-To: <6462023D-F767-45DE-9AF0-011CC48374CF@mnot.net>
References: <4ECA5C66.1040305@gmx.de> <1321903463.1990.16.camel@neutron> <4ECAA9FE.6080802@gmx.de> <1321905599.1990.23.camel@neutron> <4ECAAF39.8000702@gmx.de> <1321906189.1990.26.camel@neutron> <4ECAB0BC.0@gmx.de> <6462023D-F767-45DE-9AF0-011CC48374CF@mnot.net>
Content-Type: multipart/alternative; boundary="=-zdFFbLtPn+S+mwrYKVQU"
X-Mailer: Evolution 3.0.3-2
Mime-Version: 1.0
Subject: Re: [apps-discuss] draft-pbryan-zyp-json-pointer: name syntax for non-ASCII
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
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: Mon, 21 Nov 2011 21:51:34 -0000

Okay, so I'll write-up separate sections for JSON string values and URI
fragment identifiers. Any objections?

Paul

On Tue, 2011-11-22 at 07:55 +1100, Mark Nottingham wrote:

> +1 to Julian here -- there's no reason why non-ASCII chars need to be percent-encoded when they occur inside a JSON document, only when they're in a URI (or similar context).
> 
> Cheers,
> 
> 
> On 22/11/2011, at 7:12 AM, Julian Reschke wrote:
> 
> > On 2011-11-21 21:09, Paul C. Bryan wrote:
> >> The intent is to allow a JSON Pointer to be expressed as a JSON string
> >> value as well as a URI fragment identifier. The latter is the most
> >> significant driver for URI percent-encoding.
> >> ...
> > 
> > Well, you could use it as fragment identifier (or otherwise URI component) by UTF-8-percent-escaping.
> > 
> > The question is whether that use case requires them to be all ASCII every else, such as in a JSON patch document.
> > 
> > Best regards, Julian
> > _______________________________________________
> > apps-discuss mailing list
> > apps-discuss@ietf.org
> > https://www.ietf.org/mailman/listinfo/apps-discuss
> 
> --
> Mark Nottingham   http://www.mnot.net/
> 
> 
>