Re: [apps-discuss] draft-saintandre-json-namespaces-00 comments

Dominik Tomaszuk <ddooss@wp.pl> Thu, 10 November 2011 09:39 UTC

Return-Path: <ddooss@wp.pl>
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 B2CC321F8B3A for <apps-discuss@ietfa.amsl.com>; Thu, 10 Nov 2011 01:39:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.381
X-Spam-Level:
X-Spam-Status: No, score=-0.381 tagged_above=-999 required=5 tests=[AWL=-0.867, BAYES_00=-2.599, HELO_EQ_PL=1.135, HOST_EQ_PL=1.95]
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 XsAaEzyNNDDr for <apps-discuss@ietfa.amsl.com>; Thu, 10 Nov 2011 01:39:49 -0800 (PST)
Received: from mx3.wp.pl (mx3.wp.pl [212.77.101.7]) by ietfa.amsl.com (Postfix) with ESMTP id A111E21F8B39 for <apps-discuss@ietf.org>; Thu, 10 Nov 2011 01:39:48 -0800 (PST)
Received: (wp-smtpd smtp.wp.pl 11633 invoked from network); 10 Nov 2011 10:39:45 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wp.pl; s=1024a; t=1320917985; bh=uu+Fzo068BJAP22kI6mApDnAFMS8VN722uEPyTDdgHg=; h=From:To:Subject; b=Wi2/+/YP6288ahBDtYnPi5eVLBXJgnLCOT2OU9SSRmKFsO/MWms194soCGyWFaQc0 1qqJsv7kMqPA5G2+z5tTox2OjHcqNE/OejYJCJ7Phruf+JQckypDmJw832UUOQEdjL Emb3FiGdznYS8cj8n+f7aZ12/BchsbzSBB54P0pA=
Received: from 87-205-152-63.adsl.inetia.pl (HELO [192.168.1.2]) (ddooss@[87.205.152.63]) (envelope-sender <ddooss@wp.pl>) by smtp.wp.pl (WP-SMTPD) with SMTP for <apps-discuss@ietf.org>; 10 Nov 2011 10:39:45 +0100
Message-ID: <4EBB9BE1.6020802@wp.pl>
Date: Thu, 10 Nov 2011 10:39:45 +0100
From: Dominik Tomaszuk <ddooss@wp.pl>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.23) Gecko/20110921 Lightning/1.0b2 Thunderbird/3.1.15
MIME-Version: 1.0
To: apps-discuss@ietf.org
References: <4EB923CF.7080600@wp.pl> <566A345F-15CD-473B-8472-11EDF73A3862@vpnc.org>
In-Reply-To: <566A345F-15CD-473B-8472-11EDF73A3862@vpnc.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A.
X-WP-SPAM: NO 0000006 [oWZA]
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: Thu, 10 Nov 2011 09:39:54 -0000

On 08.11.2011 18:05, Paul Hoffman wrote:
>> 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.
I do not propose to reject Clark Notation and add declarative XML-like 
namespaces. My proposal was optional. If like long Clark Notation URLs' 
you can use it (advantage: easy processing). If you want short and 
non-repeated namespace you can declare it and use only reference 
(advantage: smaller and easier to read file).

All proposals for shortening are similar to my. You can use something 
like QNames, CURIE, or JSON-LD terms, but it is almost the same - all of 
them should be declared first.

Best regards,
Dominik Tomaszuk