Re: [Json] Nudging the English-language vs. formalisms discussion forward

Tim Bray <tbray@textuality.com> Wed, 19 February 2014 16:05 UTC

Return-Path: <tbray@textuality.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B2F4E1A04FD for <json@ietfa.amsl.com>; Wed, 19 Feb 2014 08:05:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level:
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ycPltYkSLDA9 for <json@ietfa.amsl.com>; Wed, 19 Feb 2014 08:05:22 -0800 (PST)
Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by ietfa.amsl.com (Postfix) with ESMTP id 81D341A04F7 for <json@ietf.org>; Wed, 19 Feb 2014 08:05:22 -0800 (PST)
Received: by mail-vc0-f172.google.com with SMTP id lf12so603175vcb.17 for <json@ietf.org>; Wed, 19 Feb 2014 08:05:19 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=B3VXUmSmLtXp/bb9atWyD6qJe1Q4vVVO9EbYoXuJVrc=; b=Oc64S39TmrWbjn4AlRThz4z6tr20TI9eejRXLWXdhhkdJhkq3Mweyk0plSE8ajT46C R9ZURj9nlL4LcCPWDNLlCfLjru4yF/QSgIMde7aQ/S89UsaJ3Devr+4fFq/++rFJFefJ e3cTwy2IfKOBN8hSRznx3nVOKIui6ITR+Fya9VsPe7IuW0MljpLO2n0vtofVkCgbroPR P9Dtm5LYZwPmgRfqndkv9kZt6FJD+e5Y4nmgY/tD2KitwJt/Ws+VZ2HPQMWPkenCk3u4 fCYLSNFITmPce1Llun6iZUYwbX85UFESIT9UGS3Nq//8zsQLM5/T1dY2dwX/LeuBffcB Z7cQ==
X-Gm-Message-State: ALoCoQkgDo+/Em++27kxXH4KkLohecIL3f8JEaUNkxIA1ov2+dm2Cq8cOV76OF9pQ+5+LDQ0aL0L
MIME-Version: 1.0
X-Received: by 10.52.188.41 with SMTP id fx9mr21522539vdc.19.1392825917874; Wed, 19 Feb 2014 08:05:17 -0800 (PST)
Received: by 10.220.98.73 with HTTP; Wed, 19 Feb 2014 08:05:17 -0800 (PST)
X-Originating-IP: [24.84.235.32]
In-Reply-To: <CAMm+LwhUh_yN-hzaoDWfrO_H2iGvYvj99BCE4EcYmgqCPqXoVQ@mail.gmail.com>
References: <C87F9B96-E028-4F0E-A950-B39D3F68FFE7@vpnc.org> <CAMm+LwhUh_yN-hzaoDWfrO_H2iGvYvj99BCE4EcYmgqCPqXoVQ@mail.gmail.com>
Date: Wed, 19 Feb 2014 08:05:17 -0800
Message-ID: <CAHBU6itpttXBfVQGKw=u==k_XSdrht81+m_YDNZP6RM+=9CNow@mail.gmail.com>
From: Tim Bray <tbray@textuality.com>
To: Phillip Hallam-Baker <hallam@gmail.com>
Content-Type: multipart/alternative; boundary="bcaec5485ca011b86d04f2c48e1c"
Archived-At: http://mailarchive.ietf.org/arch/msg/json/liS2-iJuiwVoAMKxmY-XwjF5kyc
Cc: Paul Hoffman <paul.hoffman@vpnc.org>, JSON WG <json@ietf.org>
Subject: Re: [Json] Nudging the English-language vs. formalisms discussion forward
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Feb 2014 16:05:25 -0000

I feel that successful Internet interoperation is achieved at the level of
syntax; clear specification of which bytes should be sent and which
returned.  Many times over the years I’ve heard assertions that if you get
the data model right, then the syntax is ephemeral: JSON or XML or ASN.1,
who cares? I’ve never found that notion remotely plausible, as there always
impedence mismatches.  You end up having to fight over another syntax to
describe the model before you can fight about the syntax you’re going to
send over the wire.

This is why I deplored the recent (but vanishing, thank goodness) trend to
offer APIs in XML-or-JSON-take-your-pick.

So, I find Phil’s arguments here (as with most schema-centric arguments)
entirely unpersuasive.


On Wed, Feb 19, 2014 at 7:56 AM, Phillip Hallam-Baker <hallam@gmail.com>wrote:

> Perhaps we could do it a different way
>
> What features/non features would people like from a formalism for
> describing protocols of which JSON is at least one example?
>
> If people want a feature and it is compatible with other feature proposals
> then I can add it to my open source tool. However it must be noted that the
> strongest feature request is 'simplicity'.
>
> Are people writing tools because they want to write tools or because they
> want a feature in a tool? If that feature can be described as a requirement
> rather than an implementation, that is even easier.
>
>
> Since my JSON Web Service has a HTTP binding, I have to have a minimal
> HTTP client in the library as an option. While knocking up a simple HTTP
> header parser, I suddenly discovered that the HTTP headers are regular
> enough that they can be described using the same schema as JSON.
>
> When we did the KEYPROV working group, the main spec is in XML but a group
> said 'all our stuff is in ASN.1, we want a version in that' since the group
> in question were the IETF Chair and a Security AD, this was a pretty strong
> request.
>
>
> So even though my view is that JSON is the data model I intend to use for
> all future protocols (unless something else comes along), It seems to me
> that if we design a formal documentation/prototyping tool we should have it
> be capable of dumping out the equivalent XML and ASN.1 schemas. But since
> the capabilities of XML and ASN.1 schema are a superset of the capabilities
> of JSON, this is pretty easy to do.
>
>
>
> On Wed, Feb 19, 2014 at 10:31 AM, Paul Hoffman <paul.hoffman@vpnc.org>wrote:
>
>> [[ Phill is the only one who has responded with a proposal to speak.
>> Hearing whether others want to would be useful. --Paul Hoffman ]]
>>
>> It's been a week, and yet I can't imagine that everything has been said
>> with respect to our proposed charter item that now stands at:
>>
>>   A set of natural-language terms and/or phrases for use in future
>> specifications
>>   that use JSON. This explicitly excludes schema languages and similar
>> formalisms.
>>
>> After that, a bunch of people started talking about formalisms and actual
>> schemas again. In order to get this decided, we need more discussion and
>> then agreement. To that end, and to put our 90 minutes on Friday afternoon
>> in London to best use, I will ask for at least three people to present
>> their views in 10-minute presentations at the meeting. However, in order to
>> cause this to not be the normal IETF "let's wait for the meeting" game, the
>> presentations need to be done by next Monday, Feb. 24. That gives people on
>> the list a preview of what will be said, time to argue about it, and time
>> for the presenters to hone their slides if they want.
>>
>> Let me know online or offline if you want to do a presentation. If you're
>> not going to be at the meeting but want to say something, you need to find
>> some like-minded soul with whom to work on the presentation.
>>
>> --Paul Hoffman
>> _______________________________________________
>> json mailing list
>> json@ietf.org
>> https://www.ietf.org/mailman/listinfo/json
>>
>> _______________________________________________
>> json mailing list
>> json@ietf.org
>> https://www.ietf.org/mailman/listinfo/json
>>
>
>
>
> --
> Website: http://hallambaker.com/
>
> _______________________________________________
> json mailing list
> json@ietf.org
> https://www.ietf.org/mailman/listinfo/json
>
>