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

Tony Hansen <tony@att.com> Wed, 11 April 2012 16:41 UTC

Return-Path: <tony@att.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 6190B11E80A3 for <apps-discuss@ietfa.amsl.com>; Wed, 11 Apr 2012 09:41:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.299
X-Spam-Level:
X-Spam-Status: No, score=-106.299 tagged_above=-999 required=5 tests=[AWL=-0.300, BAYES_00=-2.599, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
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 mLP3-W7+CEBK for <apps-discuss@ietfa.amsl.com>; Wed, 11 Apr 2012 09:41:32 -0700 (PDT)
Received: from nbfkord-smmo04.seg.att.com (nbfkord-smmo04.seg.att.com [209.65.160.86]) by ietfa.amsl.com (Postfix) with ESMTP id 702F211E8089 for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 09:41:32 -0700 (PDT)
Received: from unknown [144.160.20.145] (EHLO mlpd192.enaf.sfdc.sbc.com) by nbfkord-smmo04.seg.att.com(mxl_mta-6.11.0-8) over TLS secured channel with ESMTP id c34b58f4.0.1154284.00-306.3199051.nbfkord-smmo04.seg.att.com (envelope-from <tony@att.com>); Wed, 11 Apr 2012 16:41:32 +0000 (UTC)
X-MXL-Hash: 4f85b43c3b3068e6-d382b638a03255fdeec8f0dbcfe669db4dca9f49
Received: from enaf.sfdc.sbc.com (localhost.localdomain [127.0.0.1]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q3BGfVCJ028612 for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 12:41:31 -0400
Received: from sflint01.pst.cso.att.com (sflint01.pst.cso.att.com [144.154.234.228]) by mlpd192.enaf.sfdc.sbc.com (8.14.5/8.14.5) with ESMTP id q3BGfQMi028580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 12:41:26 -0400
Received: from alpd052.aldc.att.com (alpd052.aldc.att.com [130.8.42.31]) by sflint01.pst.cso.att.com (RSA Interceptor) for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 12:41:07 -0400
Received: from aldc.att.com (localhost.localdomain [127.0.0.1]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id q3BGf6PC020641 for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 12:41:06 -0400
Received: from mailgw1.maillennium.att.com (dns.maillennium.att.com [135.25.114.99]) by alpd052.aldc.att.com (8.14.4/8.14.4) with ESMTP id q3BGf19b020286 for <apps-discuss@ietf.org>; Wed, 11 Apr 2012 12:41:01 -0400
Received: from [135.91.110.244] (ds135-91-110-244.dhcps.ugn.att.com[135.91.110.244]) by maillennium.att.com (mailgw1) with ESMTP id <20120411163802gw1004or84e> (Authid: tony); Wed, 11 Apr 2012 16:38:02 +0000
X-Originating-IP: [135.91.110.244]
Message-ID: <4F85B41C.1010004@att.com>
Date: Wed, 11 Apr 2012 12:41:00 -0400
From: Tony Hansen <tony@att.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:11.0) Gecko/20120327 Thunderbird/11.0.1
MIME-Version: 1.0
To: apps-discuss@ietf.org
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> <01OE6QSJQ2EW00ZUIL@mauve.mrochek.com>
In-Reply-To: <01OE6QSJQ2EW00ZUIL@mauve.mrochek.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-RSA-Inspected: yes
X-RSA-Classifications: public
X-RSA-Action: allow
X-Spam: [F=0.2000000000; CM=0.500; S=0.200(2010122901)]
X-MAIL-FROM: <tony@att.com>
X-SOURCE-IP: [144.160.20.145]
X-AnalysisOut: [v=1.0 c=1 a=p4QNoMogDYAA:10 a=vnNYxAp2wzwA:10 a=BlG6E5tz_8]
X-AnalysisOut: [UA:10 a=ofMgfj31e3cA:10 a=BLceEmwcHowA:10 a=8nJEP1OIZ-IA:1]
X-AnalysisOut: [0 a=ZRNLZ4dFUbCvG8UMqPvVAA==:17 a=oQMXLekNysl7CA7k7ZIA:9 a]
X-AnalysisOut: [=LyPr6f2XGSM0gIZA7CcA:7 a=wPNLvfGTeEIA:10]
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:41:33 -0000

Sometimes wikipedia actually has useful information. :-) From the 
wikipedia entry for EXI:

"An advantage of EXI over Fast Infoset is that EXI (optionally) uses 
more constraints from the XML schema. This can make the EXI data more 
compact; for example, if the XML schema specifies that elements named 
'bar' may only exist within elements named 'foo', EXI can assign a 
shorter token to the 'bar' element, knowing that it doesn't have to 
share the same token space as elements that occur elsewhere in the document.

"The main disadvantage is that to take advantage of this 
"schema-informed" compression, not only does the document require a 
schema, but the decoder needs a copy of the same schema that the encoder 
used."

This supports Ned's comment that +exi might not be viable.

     Tony Hansen

On 4/11/2012 11:57 AM, Ned Freed wrote:
>> 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.