Re: [apps-discuss] Fwd: New Version Notification for draft-shelby-exi-registration-01.txt

Ned Freed <ned.freed@mrochek.com> Wed, 11 April 2012 16:09 UTC

Return-Path: <ned.freed@mrochek.com>
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 E345221F853C for <apps-discuss@ietfa.amsl.com>; Wed, 11 Apr 2012 09:09:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.937
X-Spam-Level:
X-Spam-Status: No, score=-1.937 tagged_above=-999 required=5 tests=[AWL=0.062, BAYES_00=-2.599, J_CHICKENPOX_33=0.6]
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 jYKkZoadiHqH for <apps-discuss@ietfa.amsl.com>; Wed, 11 Apr 2012 09:09:17 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by ietfa.amsl.com (Postfix) with ESMTP id 6FF4621F8539 for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 09:09:16 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01OE6QSLU0EO0000P5@mauve.mrochek.com> for apps-discuss@ietf.org; Wed, 11 Apr 2012 09:09:12 -0700 (PDT)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01OE0NBOM18G00ZUIL@mauve.mrochek.com>; Wed, 11 Apr 2012 09:09:08 -0700 (PDT)
Message-id: <01OE6QSJQ2EW00ZUIL@mauve.mrochek.com>
Date: Wed, 11 Apr 2012 08:57:39 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Wed, 11 Apr 2012 17:30:42 +0200" <4F85A3A2.9000505@gmx.de>
MIME-version: 1.0
Content-type: TEXT/PLAIN; Format="flowed"
References: <20120329204732.13711.266.idtracker@ietfa.amsl.com> <5580A282-E191-4962-9410-6CF9FB14EDFC@sensinode.com> <20120402124522.GX16698@jay.w3.org> <8B84EAAD-CD22-4461-9BC6-AB78974A94A2@sensinode.com> <20120411075024.GN18899@jay.w3.org> <4F85410D.20802@toshiba.co.jp> <20120411085920.GP18899@jay.w3.org> <FBCADBF9-D6FB-4E0D-9668-F5B3EF744037@tzi.org> <f5bobqye1vj.fsf@calexico.inf.ed.ac.uk> <4F85A3A2.9000505@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: apps-discuss@ietf.org
Subject: Re: [apps-discuss] Fwd: New Version Notification for draft-shelby-exi-registration-01.txt
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: Wed, 11 Apr 2012 16:09:18 -0000

> On 2012-04-11 17:15, Henry S. Thompson wrote:
> > Carsten Bormann writes:
> >
> >> EXI requires out of band information to use the "Schema-Informed"
> >> mode.  In the Internet, This would normally be provided in an
> >> Internet media-type definition.  The media-type definition may also
> >> want to constrain the allowable values for the numerous options EXI
> >> provides, allowing for constrained implementations of EXI.
> >
> > Your conclusion (use media type) doesn't follow.  Consider the analogy
> > of Content-Encoding: gzip -- suppose gzip provided improved
> > performance based on the decade in which the encoded document was
> > written, since natural language priors slowly shift over time.  Now
> > decoding requires OOB information about document creation date.  How shall
> > we provide it.  I know -- we'll define media types
> > application/...+gzip for every decade of interest!  I hope it's
> > obvious that would be a mistake. . .
> >
> > If decoding requires some parameters, surely the right thing to do is
> > to transmit them in the obvious place, i.e. in the response message
> > header.

> If decoding requires additional information, than IMHO you can't use
> HTTP's Content-Coding or Transfer-Encoding. By all means, if you think
> otherwise then send feedback to the HTTPbis WG.

Julian is 100% correct here. If EXI requires knowledge of the type itself, it's
not a separable encoding, which is what Content-Coding, Transfer-Encoding, and
Content-Transfer-Encoding all require. And while I suppose we could adopt the
foo+exi approach, having an explosion of encodings is a really bad idea.

And if this is the case, it really isn't suitable for a +exi suffix either.
+exi is supposed to mean the format can at least be parsed,  independent of any
knowledge of the type semantics. This is why I support the idea of having +ber
and +der but not +per - with +per you have to know the ASN.1 schema in order to
parse the material properly.

For better or worse, we don't currently have a place in the architecture for
these entities. We could define some other sort of type naming convention if
there's really a need for it, but adding additional out of band information
that has to be processed in order to interpret the material correctly is rather
obviously highly problematic.

				Ned