Re: [apps-discuss] Feedback on draft-ietf-appsawg-json-pointer-00
"Paul C. Bryan" <pbryan@anode.ca> Fri, 02 March 2012 18:42 UTC
Return-Path: <pbryan@anode.ca>
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 B4E7F21E8049 for <apps-discuss@ietfa.amsl.com>; Fri, 2 Mar 2012 10:42:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 PjUng8dDR4cC for <apps-discuss@ietfa.amsl.com>; Fri, 2 Mar 2012 10:42:06 -0800 (PST)
Received: from maple.anode.ca (maple.anode.ca [72.14.183.184]) by ietfa.amsl.com (Postfix) with ESMTP id DF53921E8034 for <apps-discuss@ietf.org>; Fri, 2 Mar 2012 10:41:46 -0800 (PST)
Received: from [192.168.1.9] (S0106a021b762dbb3.vf.shawcable.net [174.1.50.247]) by maple.anode.ca (Postfix) with ESMTPSA id B5EA76485 for <apps-discuss@ietf.org>; Fri, 2 Mar 2012 18:41:45 +0000 (UTC)
Message-ID: <1330713704.2057.0.camel@neutron>
From: "Paul C. Bryan" <pbryan@anode.ca>
To: IETF Apps Discuss <apps-discuss@ietf.org>
Date: Fri, 02 Mar 2012 10:41:44 -0800
In-Reply-To: <4F50453B.5020708@it.aoyama.ac.jp>
References: <4F4FD8A5.6010603@cloudmark.com> <1330638350.2531.11.camel@neutron> <4F50453B.5020708@it.aoyama.ac.jp>
Content-Type: multipart/alternative; boundary="=-rNLgEu5s0iwhRp2uOqjD"
X-Mailer: Evolution 3.2.2-1
Mime-Version: 1.0
Subject: Re: [apps-discuss] Feedback on draft-ietf-appsawg-json-pointer-00
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: Fri, 02 Mar 2012 18:42:07 -0000
Okay, I will amend the draft accordingly. Paul On Fri, 2012-03-02 at 12:57 +0900, "Martin J. Dürst" wrote: > On 2012/03/02 6:45, Paul C. Bryan wrote: > > On Thu, 2012-03-01 at 12:14 -0800, Mike Acar wrote: > > >> That is, if the reference token equals the name of some value within the > >> object, move to that value. However, the tokens and values are Unicode > >> strings; I'm not an expert in Unicode, but my impression is that testing > >> Unicode strings for equality is not as simple as comparing sequences of > >> bytes. For example, there are linguistic considerations: I believe > >> German ö and oe are considered identical. > > > > > > While we may consider ö and oe to be linguistically equivalent, I do no > > believe they are considered lexicographically equivalent in a Unicode > > string comparison. Someone please correct me if I'm wrong. Would it help > > to define the comparison as being lexicographical? > > No. Lexicographical is usually used with respect to order, not > equivalence (see e.g. http://en.wikipedia.org/wiki/Lexicographical_order) > > >> There's also the question of JSON documents with different encodings; > >> UTF8 is the default, but UTF-16 and -32 with both endiannesses are also > >> supported. Presumably this question will disappear in practice, since > >> implementations will operate on deserialized data structures, not on > >> JSON texts. > > > > Since they're logically the same underlying Unicode representations, I'm > > not sure there's any issue to consider here. > > The best way to spec this is to say that equivalence is checked > codepoint-by-codepoint. That solves both issues, because codepoints are > independent of UTF-8/UTF-16/UTF-32, simply the Unicode character numbers. > > Regards, Martin.
- [apps-discuss] Feedback on draft-ietf-appsawg-jso… Mike Acar
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Tim Bray
- [apps-discuss] Identifier comparison in draft-iet… Julian Reschke
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Paul C. Bryan
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Martin J. Dürst
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Tim Bray
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Paul C. Bryan
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Mike Acar
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Mike Acar
- Re: [apps-discuss] Feedback on draft-ietf-appsawg… Murray S. Kucherawy
- [apps-discuss] json-pointer #5 - semantics [was: … Mark Nottingham
- Re: [apps-discuss] json-pointer #5 - semantics [w… Murray S. Kucherawy
- Re: [apps-discuss] json-pointer #5 - semantics [w… Mike Acar
- Re: [apps-discuss] json-pointer #5 - semantics [w… Paul C. Bryan
- Re: [apps-discuss] json-pointer #5 - semantics [w… Martin Thomson
- Re: [apps-discuss] json-pointer #5 - semantics [w… Paul C. Bryan
- Re: [apps-discuss] json-pointer #5 - semantics [w… Martin Thomson
- Re: [apps-discuss] json-pointer #5 - semantics [w… Mark Nottingham