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

Ned Freed <ned.freed@mrochek.com> Sat, 14 April 2012 14:11 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 62E7A21F861F for <apps-discuss@ietfa.amsl.com>; Sat, 14 Apr 2012 07:11:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.432
X-Spam-Level:
X-Spam-Status: No, score=-2.432 tagged_above=-999 required=5 tests=[AWL=0.167, BAYES_00=-2.599]
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 7qziLXKCuzOs for <apps-discuss@ietfa.amsl.com>; Sat, 14 Apr 2012 07:11:54 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.59.230.40]) by ietfa.amsl.com (Postfix) with ESMTP id CABB321F861B for <apps-discuss@ietf.org>; Sat, 14 Apr 2012 07:11:53 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01OEATK4XW68005PB3@mauve.mrochek.com> for apps-discuss@ietf.org; Sat, 14 Apr 2012 07:11:49 -0700 (PDT)
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01OE0NBOM18G00ZUIL@mauve.mrochek.com>; Sat, 14 Apr 2012 07:11:47 -0700 (PDT)
Message-id: <01OEATK3NNY800ZUIL@mauve.mrochek.com>
Date: Sat, 14 Apr 2012 06:55:26 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sat, 14 Apr 2012 14:27:41 +0200" <4F896D3D.9010805@gmx.de>
MIME-version: 1.0
Content-type: TEXT/PLAIN; Format="flowed"
References: <4F88546D.5020007@gmx.de> <f5behrrtwqc.fsf@calexico.inf.ed.ac.uk> <4F885889.5020401@gmx.de> <f5baa2ftvfy.fsf@calexico.inf.ed.ac.uk> <4F886487.3050806@gmx.de> <f5b62d3tsg2.fsf@calexico.inf.ed.ac.uk> <4F886D9B.9030203@gmx.de> <4F886F67.5090005@gmx.de> <20120413200214.GE696@jay.w3.org> <4F88899D.3090405@gmx.de> <20120414121040.GF696@jay.w3.org> <4F896D3D.9010805@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
Cc: "apps-discuss@ietf.org Discuss" <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: Sat, 14 Apr 2012 14:11:55 -0000

> On 2012-04-14 14:10, Carine Bournez wrote:
> > On Fri, Apr 13, 2012 at 10:16:29PM +0200, Julian Reschke wrote:
> >> On 2012-04-13 22:02, Carine Bournez wrote:
> >>> ...
> >>> I suppose that the registration for application/senml+xml could
> >>> mandate use of a particular schema when encoded with EXI and exclude
> >>> any additional schema (i.e. no schemaId allowed).
> >>> ...
> >>
> >> Nope. Content-Encoding and media type are orthogonal things.
> >
> > It was the case until the pack200 content encoding was registered.
> > EXI has not set any precedent here.

> If "pack200" violates that principle, it shouldn't have been registered.
> (Does it? Pointers, please)

My understanding is that pack200 is a type-specific compression format. That
is, it only works if the input is a jar file. In this sense there is overlap
with EXI - I believe EXI relies on the input having XML syntax (although it
doesn't necessarily have to be well formed), which means it is only applicable
to a subset of media types.

If that's indeed the case, then yes, pack200 is not orthogonal to the media
type. That said, it's not in the same class as EXI. I'm pretty sure I can
decompress anything that's been compressed with pack200 with nothing but
knowledge of the pack200 algorithm. I don't need to to have access to an
external schema or type-specific rules about which schema is the default.

I also note that pack200 doesn't present the same sort of issues for
negotiation. A server knows the types of the objects it sends out and therefore
knows when pack200 can and cannot be applied. And a client requesting pack200
encoding and getting it back won't ever have any difficulty handling it. The
most that can be said is that it requires special-case handling on the server
when an encoding is selected. (Which is also the case with EXI.)

> However, just because it happened once doesn't make it correct to do it
> again.

Quite true. Even if pack200 had exactly the same characteristics as EXI, that
would not provide justification for making the same mistake again.

				Ned