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

Phillip Hallam-Baker <hallam@gmail.com> Thu, 20 February 2014 01:21 UTC

Return-Path: <hallam@gmail.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 2C7871A05FB for <json@ietfa.amsl.com>; Wed, 19 Feb 2014 17:21:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=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 wFqtIr5r0KIP for <json@ietfa.amsl.com>; Wed, 19 Feb 2014 17:21:35 -0800 (PST)
Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com [IPv6:2a00:1450:4010:c04::229]) by ietfa.amsl.com (Postfix) with ESMTP id 5D7A11A0216 for <json@ietf.org>; Wed, 19 Feb 2014 17:21:35 -0800 (PST)
Received: by mail-lb0-f169.google.com with SMTP id q8so872313lbi.14 for <json@ietf.org>; Wed, 19 Feb 2014 17:21:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dubm8JMErUvKymWeqLogrcb4/+dO1Y7gW5LC2pqbj38=; b=lvrA+x5WmzAYNQG6TSXK3PBxvTgKs+bfk2gu6XTURkRDM95dLk/gYHyKHclc2aDDQt IsDcdNbdRkyxJxl/TaITvE52Eip79OPO4xF1jq4vSs3eaDBgyDijnGnxvisTG22cuTjD qma6XlAzw739d9c1wVhra5Ea0zXDyDblh7lbiMEO8JYlKWeaCmumnj37jLV2zdW4qJJp xedPY/OaRdvut8EzKntPVN+jh5AjoRtyjCjkgnQu/HXoSsmN6dAvHAFmgBoU2dyR/Y7P jYNYusv1HkxJHDTKBWId6frL9v/5f8LL0CGlX5s9Suuw9QcSK7VVWFfwMXO/v6pm9JL4 2MIA==
MIME-Version: 1.0
X-Received: by 10.152.219.97 with SMTP id pn1mr28152370lac.9.1392859291266; Wed, 19 Feb 2014 17:21:31 -0800 (PST)
Received: by 10.112.37.168 with HTTP; Wed, 19 Feb 2014 17:21:31 -0800 (PST)
In-Reply-To: <20140219230449.GB12169@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>
Date: Wed, 19 Feb 2014 20:21:31 -0500
Message-ID: <CAMm+LwhNsRPbbyu3pFqV15AbQqbBhDi8Og5O1QswpGy=cjqXCQ@mail.gmail.com>
From: Phillip Hallam-Baker <hallam@gmail.com>
To: John Cowan <cowan@mercury.ccil.org>
Content-Type: multipart/alternative; boundary="001a1137f67c47322804f2cc538c"
Archived-At: http://mailarchive.ietf.org/arch/msg/json/efQd197NzOPC-mxVkbDyK0D3o2E
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 01:21:38 -0000

This is what I was referring to:

<saml:Assertion   xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
ID="b07b804c-7c29-ea16-7300-4f3d6f7928ac"   Version="2.0"
IssueInstant="2004-12-05T09:22:05">
   <saml:Issuer>https://idp.example.org/SAML2</saml:Issuer>
   <ds:Signature
xmlns:ds="http://www.w3.org/2000/09/xmldsig#">...</ds:Signature>
   <saml:Subject>



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

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


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


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


Clearly composition of schema specs is hard. Does it have to be solved?




On Wed, Feb 19, 2014 at 6:04 PM, John Cowan <cowan@mercury.ccil.org> wrote:

> Phillip Hallam-Baker scripsit:
>
> > That is because XML markup requires the schema to be specified in the
> > document
>
> Not so, unless you mean DTDs.
>
> > because the extensibility scheme depends on it (i.e. the mechanism
> > is bust)
>
> Not so.
>
> > The problem with XML is that it was designed to be a less awful version
> of
> > SGML while allowing the HTML document markup that already existed to be
> > supported
>
> Not so.
>
> > which meant support for most existing DTDs.
>
> Not so.
>
> > So XML Schema has to
> > have a lot of features that are unnecessary and complex so that all the
> > horrors of SGML could be supported.
>
> Not so.
>
> > Both are cases of someone or rather a committee trying to define a
> > specification for mapping bits on the wire to the abstract data model
> > rather than mapping the abstract data model to bits on the wire.
>
> Not so.
>
> > I can't think of an intrinsic type that isn't a boolean, a number
> > or a string. And as far as bits on the wire goes, there are no sets or
> bags
> > either, there are only structures and lists.
>
> All I can say is, your imagination appears deficient.
>
> --
> Verbogeny is one of the pleasurettes    John Cowan <cowan@ccil.org>
> of a creatific thinkerizer.             http://www.ccil.org/~cowan
>    --Peter da Silva
>



-- 
Website: http://hallambaker.com/