Re: [Json] Fwd: Blog: YANG Takes Off in the Industry

John Cowan <cowan@mercury.ccil.org> Fri, 01 August 2014 12:35 UTC

Return-Path: <cowan@ccil.org>
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 B33751A03AE for <json@ietfa.amsl.com>; Fri, 1 Aug 2014 05:35:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.602
X-Spam-Level:
X-Spam-Status: No, score=-2.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] 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 wP_wlAz-wuP7 for <json@ietfa.amsl.com>; Fri, 1 Aug 2014 05:35:50 -0700 (PDT)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4309C1A0324 for <json@ietf.org>; Fri, 1 Aug 2014 05:35:50 -0700 (PDT)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1XDC3m-0001e7-G5; Fri, 01 Aug 2014 08:35:46 -0400
Date: Fri, 01 Aug 2014 08:35:46 -0400
From: John Cowan <cowan@mercury.ccil.org>
To: Phillip Hallam-Baker <ietf@hallambaker.com>
Message-ID: <20140801123546.GD23649@mercury.ccil.org>
References: <53DB7757.8000600@cisco.com> <39ADA8F1-D204-4B2C-A1AC-0CA1F3B238D1@tzi.org> <20140801115408.GC23649@mercury.ccil.org> <CAMm+LwhFBuUj3=Od1cEAGr8k1=wa4gZZCU-AJJf+PySPG0MupA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAMm+LwhFBuUj3=Od1cEAGr8k1=wa4gZZCU-AJJf+PySPG0MupA@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Sender: John Cowan <cowan@ccil.org>
Archived-At: http://mailarchive.ietf.org/arch/msg/json/xS9mapzJ8VGyALMJvvATjIfNi4U
Cc: Carsten Bormann <cabo@tzi.org>, JSON WG <json@ietf.org>
Subject: Re: [Json] Fwd: Blog: YANG Takes Off in the Industry
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: Fri, 01 Aug 2014 12:35:51 -0000

Carsten Bormann scripsit:

> That vacuum is filled by draft-ietf-netmod-yang-json-00.  (Nature
> abhors vacuum.)

Neither here nor there: that is merely a JSON expression of the XML.  It
has nothing to do with modeling JSON.

Phillip Hallam-Baker scripsit:

> But you could use it to create a data model that was represented in
> JSON.

I haven't read the RFC in any detail, but the model given in 4.2.2 does
not seem to be a JSON model: it is far more complicated.

> And that community refuses to make any changes to XML or XML schema to
> support protocol work.

Or for any other purpose.  Ghu knows I tried.

> So XML is a bad choice for protocol design.

That conclusion I believe to be unwarranted.  The problems with XML are
mostly the hard-to-use APIs, of which one of the worst is that embedded
in all browsers.  If anything is carved in stone these days, it is the
DOM.

-- 
John Cowan          http://www.ccil.org/~cowan        cowan@ccil.org
Yakka foob mog.  Grug pubbawup zink wattoom gazork.  Chumble spuzz.
    --Calvin, giving Newton's First Law "in his own words"