Re: [apps-discuss] draft-saintandre-json-namespaces-00 comments
"Thomson, Martin" <Martin.Thomson@commscope.com> Tue, 08 November 2011 21:57 UTC
Return-Path: <Martin.Thomson@commscope.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 B261C21F8AE1 for <apps-discuss@ietfa.amsl.com>; Tue, 8 Nov 2011 13:57:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.28
X-Spam-Level:
X-Spam-Status: No, score=-3.28 tagged_above=-999 required=5 tests=[AWL=-0.681, BAYES_00=-2.599]
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 cEdr7oZKYSHM for <apps-discuss@ietfa.amsl.com>; Tue, 8 Nov 2011 13:57:24 -0800 (PST)
Received: from cdcsmgw01.commscope.com (fw.commscope.com [198.135.207.129]) by ietfa.amsl.com (Postfix) with ESMTP id 1878221F8ADE for <apps-discuss@ietf.org>; Tue, 8 Nov 2011 13:57:23 -0800 (PST)
X-AuditID: 0a0404e8-b7c2eae000002297-88-4eb9a5bf1db4
Received: from ACDCE7HC2.commscope.com ( [10.86.20.103]) by cdcsmgw01.commscope.com (Symantec Brightmail Gateway) with SMTP id C3.D5.08855.FB5A9BE4; Tue, 8 Nov 2011 15:57:19 -0600 (CST)
Received: from SISPE7HC2.commscope.com (10.97.4.13) by ACDCE7HC2.commscope.com (10.86.20.103) with Microsoft SMTP Server (TLS) id 8.3.213.0; Tue, 8 Nov 2011 15:57:19 -0600
Received: from SISPE7MB1.commscope.com ([fe80::9d82:a492:85e3:a293]) by SISPE7HC2.commscope.com ([fe80::58c3:2447:f977:57c3%10]) with mapi; Wed, 9 Nov 2011 05:57:15 +0800
From: "Thomson, Martin" <Martin.Thomson@commscope.com>
To: Mark Nottingham <mnot@mnot.net>, Paul Hoffman <paul.hoffman@vpnc.org>
Date: Wed, 09 Nov 2011 05:57:13 +0800
Thread-Topic: [apps-discuss] draft-saintandre-json-namespaces-00 comments
Thread-Index: AcyeOW71ZK3B8ukTRe+81yjMKgjB3wAJRjMw
Message-ID: <27AFD040F6F8AA4193E0614E2E3AF9C910D7C1F43F@SISPE7MB1.commscope.com>
References: <4EB923CF.7080600@wp.pl> <566A345F-15CD-473B-8472-11EDF73A3862@vpnc.org> <9D5B00CA-9370-45D6-835B-3C7A1ADFEBBC@mnot.net>
In-Reply-To: <9D5B00CA-9370-45D6-835B-3C7A1ADFEBBC@mnot.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Cc: Dominik Tomaszuk <ddooss@wp.pl>, apps-discuss Discuss <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] draft-saintandre-json-namespaces-00 comments
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: Tue, 08 Nov 2011 21:57:24 -0000
And another +1 to the -10. To make the reason clear, the problem this causes is that names are no longer able to be treated opaquely. Having "{$foo}x" with more than one potential semantic in the same context is a crazy sort of problem that only an unnecessary optimization can produce. I'm generally with Mark, and Paul. The lessons learned from "X-" and XML indicate that a private playpen is nice. Proscribing the shape of that playpen seems unnecessary, at least for now. On the one hand, you could attempt to establish a convention for the shape of the playpen. This draft does that with {} and URIs. There's certainly merit in convention, but the proposal is heavyweight. On the other, all you need is a mechanism to avoid collisions in a given host format. Given the identifier's inherent opacity, extensions can take any form (c.f. Paul's comment) and the goal is still achieved. You can use a registry and bear the management overhead; use dotted names, uris or something similar; you can just use real names and risk collisions; or you can combine the approaches. For instance, you could say: "official" extensions wont use '.', come see us if you want one; otherwise, try to play nice. For instance, I haven't seen too many problems with namespace collisions in Java class names. --Martin On 2011-11-09 at 04:10:44, Mark Nottingham wrote: > +1 to Paul's -10. > > My take on it: > > http://www.mnot.net/blog/2011/10/12/thinking_about_namespaces_in_json > > Let's keep this simple and avoid repeating the mistakes of XML, OK? > > > On 08/11/2011, at 11:05 AM, Paul Hoffman wrote: > > > On Nov 8, 2011, at 4:42 AM, Dominik Tomaszuk wrote: > > > >> Clark Notation can sometimes be too heavy, especially when > namespaces are placed in many keys. > > > > +1 > > > >> I propose to give possibility to declare namespace. > > > > -1. Actually, -10. While somewhat useful for XML, namespaces have > also proven to cause many headaches for corner cases. > > > > Please strongly consider using a much simpler naming scheme, such as > "names with periods in them". > > > > --Paul Hoffman > > > > _______________________________________________ > > apps-discuss mailing list > > apps-discuss@ietf.org > > https://www.ietf.org/mailman/listinfo/apps-discuss > > -- > Mark Nottingham > http://www.mnot.net/ > > > > > _______________________________________________ > apps-discuss mailing list > apps-discuss@ietf.org > https://www.ietf.org/mailman/listinfo/apps-discuss
- [apps-discuss] draft-saintandre-json-namespaces-0… Dominik Tomaszuk
- Re: [apps-discuss] draft-saintandre-json-namespac… Paul Hoffman
- Re: [apps-discuss] draft-saintandre-json-namespac… Julian Reschke
- Re: [apps-discuss] draft-saintandre-json-namespac… Mark Nottingham
- Re: [apps-discuss] draft-saintandre-json-namespac… Julian Reschke
- Re: [apps-discuss] draft-saintandre-json-namespac… Mark Nottingham
- Re: [apps-discuss] draft-saintandre-json-namespac… Julian Reschke
- Re: [apps-discuss] draft-saintandre-json-namespac… Mark Nottingham
- Re: [apps-discuss] draft-saintandre-json-namespac… Julian Reschke
- Re: [apps-discuss] draft-saintandre-json-namespac… Paul C. Bryan
- Re: [apps-discuss] draft-saintandre-json-namespac… Thomson, Martin
- Re: [apps-discuss] draft-saintandre-json-namespac… Mark Baker
- Re: [apps-discuss] draft-saintandre-json-namespac… Paul Hoffman
- Re: [apps-discuss] draft-saintandre-json-namespac… Thomson, Martin
- Re: [apps-discuss] draft-saintandre-json-namespac… Mark Baker
- Re: [apps-discuss] draft-saintandre-json-namespac… Paul Hoffman
- Re: [apps-discuss] draft-saintandre-json-namespac… Peter Saint-Andre
- Re: [apps-discuss] draft-saintandre-json-namespac… Tim Bray
- Re: [apps-discuss] draft-saintandre-json-namespac… Mark Nottingham
- Re: [apps-discuss] draft-saintandre-json-namespac… Mark Baker
- Re: [apps-discuss] draft-saintandre-json-namespac… Dominik Tomaszuk
- Re: [apps-discuss] draft-saintandre-json-namespac… Dominik Tomaszuk
- Re: [apps-discuss] draft-saintandre-json-namespac… Julian Reschke
- Re: [apps-discuss] draft-saintandre-json-namespac… Dominik Tomaszuk
- Re: [apps-discuss] draft-saintandre-json-namespac… Dominik Tomaszuk