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

John Cowan <cowan@mercury.ccil.org> Thu, 20 February 2014 14:53 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 723F91A01E4 for <json@ietfa.amsl.com>; Thu, 20 Feb 2014 06:53:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.148
X-Spam-Level:
X-Spam-Status: No, score=-3.148 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.548] 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 Ol5Nib_Jru4J for <json@ietfa.amsl.com>; Thu, 20 Feb 2014 06:53:02 -0800 (PST)
Received: from earth.ccil.org (earth.ccil.org [192.190.237.11]) by ietfa.amsl.com (Postfix) with ESMTP id 81C471A01E5 for <json@ietf.org>; Thu, 20 Feb 2014 06:52:55 -0800 (PST)
Received: from cowan by earth.ccil.org with local (Exim 4.72) (envelope-from <cowan@ccil.org>) id 1WGUzZ-0004tA-IS; Thu, 20 Feb 2014 09:52:49 -0500
Date: Thu, 20 Feb 2014 09:52:49 -0500
From: John Cowan <cowan@mercury.ccil.org>
To: Phillip Hallam-Baker <hallam@gmail.com>
Message-ID: <20140220145249.GB11488@mercury.ccil.org>
References: <C87F9B96-E028-4F0E-A950-B39D3F68FFE7@vpnc.org> <CAMm+LwhUh_yN-hzaoDWfrO_H2iGvYvj99BCE4EcYmgqCPqXoVQ@mail.gmail.com> <CAHBU6itpttXBfVQGKw=u==k_XSdrht81+m_YDNZP6RM+=9CNow@mail.gmail.com> <20140219163059.GA18485@mercury.ccil.org> <CAK3OfOjzVJRVzZbj+MtsX4CNEpK70eYSdu6boQKxJmWLdrCH=g@mail.gmail.com> <20140219200609.GB8132@mercury.ccil.org> <CAMm+LwiccGBUT7zt-9sgT7BitetFqs_SCe+xSY166OyaiqFMvw@mail.gmail.com> <20140219230449.GB12169@mercury.ccil.org> <CAMm+LwhNsRPbbyu3pFqV15AbQqbBhDi8Og5O1QswpGy=cjqXCQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <CAMm+LwhNsRPbbyu3pFqV15AbQqbBhDi8Og5O1QswpGy=cjqXCQ@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/oO16-3-Lny3qeCXtLduC89Rizf0
Cc: Nico Williams <nico@cryptonector.com>, Tim Bray <tbray@textuality.com>, 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: Thu, 20 Feb 2014 14:53:10 -0000

Phillip Hallam-Baker scripsit:

> Interpreting those namespaces correctly requires a huge amount of
> complex logic that is completely unnecessary.

That is untrue (just to vary myself a bit).

> Since we had Eve Maler on the TC, I think we were doing the XML schema
> right the second time round...

Well, your snippet of an *instance* document contains a declaration of
the XSD *schema* namespace, which makes no sense whatever.  I don't know
who wrote that instance (which appears in Wikipedia and elsewhere), but
I doubt it was Eve.

> If XML Schema had been better designed the namespaces would never
> appear on the wire

Namespaces long predated XML Schema.

> Though since the post had no content other than 'oh no it isn't' the
> poster might have had a different idea.

My point was that you were defending an argument I consider to be
incorrect using claims that any XML Schema user (certainly including
Eve) would certainly know were false, but which the present audience
might not recognize as such.

I am not attacking JSON or defending XML Schema.  I'm attacking the
claim of "semantic-first" designs to be the obviously Right Thing.
Indeed, XML Schema itself is a magnificent example of just such a
semantics-first design, with the result that it is damned hard for
mere mortals to decipher actual schemas without tools.

-- 
John Cowan   http://ccil.org/~cowan   cowan@ccil.org
'My young friend, if you do not now, immediately and instantly, pull
as hard as ever you can, it is my opinion that your acquaintance in the
large-pattern leather ulster' (and by this he meant the Crocodile) 'will
jerk you into yonder limpid stream before you can say Jack Robinson.'
        --the Bi-Coloured-Python-Rock-Snake