Re: [apps-discuss] +exi

Zach Shelby <zach@sensinode.com> Fri, 16 December 2011 07:24 UTC

Return-Path: <zach@sensinode.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 399EF21F87D6 for <apps-discuss@ietfa.amsl.com>; Thu, 15 Dec 2011 23:24:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.999
X-Spam-Level:
X-Spam-Status: No, score=-2.999 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, J_CHICKENPOX_33=0.6, RCVD_IN_DNSWL_LOW=-1]
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 oTOkva9UEjg6 for <apps-discuss@ietfa.amsl.com>; Thu, 15 Dec 2011 23:24:15 -0800 (PST)
Received: from auth-smtp.nebula.fi (auth-smtp.nebula.fi [217.30.180.105]) by ietfa.amsl.com (Postfix) with ESMTP id 3B58321F8AAF for <apps-discuss@ietf.org>; Thu, 15 Dec 2011 23:24:14 -0800 (PST)
Received: from [192.168.1.103] (87-95-80-211.bb.dnainternet.fi [87.95.80.211]) (authenticated bits=0) by auth-smtp.nebula.fi (8.13.8/8.13.4) with ESMTP id pBG7O6l9019890 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 16 Dec 2011 09:24:07 +0200
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset=us-ascii
From: Zach Shelby <zach@sensinode.com>
In-Reply-To: <20111214092327.GK5525@jay.w3.org>
Date: Fri, 16 Dec 2011 09:24:05 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <7472087B-86F9-4683-BA74-F70EC98D483C@sensinode.com>
References: <01O8GE5O3B5K00RCTX@mauve.mrochek.com> <C68CB012D9182D408CED7B884F441D4D0611DAC31D@nambxv01a.corp.adobe.com> <4EC31F1E.6070304@stpeter.im> <8p86c7d6chvadsku6k5dhct20qkl7uk73l@hive.bjoern.hoehrmann.de> <4EC326FE.1010809@stpeter.im> <lu96c7hsl37325nn3184ub4vr88qjgja50@hive.bjoern.hoehrmann.de> <EDB50792-348B-4693-9FDF-04BA091F8BE9@sensinode.com> <4EE78F2F.2070601@stpeter.im> <20111213215816.GI5525@jay.w3.org> <5EFF390A-3D29-4F15-95BE-C81EFCF6D3D5@mnot.net> <20111214092327.GK5525@jay.w3.org>
To: Carine Bournez <carine@w3.org>
X-Mailer: Apple Mail (2.1084)
Cc: paduffy@cisco.com, Mark Nottingham <mnot@mnot.net>, Thomas Herbst <therbst@silverspringnet.com>, "apps-discuss@ietf.org" <apps-discuss@ietf.org>
Subject: Re: [apps-discuss] +exi
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: Fri, 16 Dec 2011 07:24:16 -0000

On Dec 14, 2011, at 11:23 AM, Carine Bournez wrote:

> In the schema-informed mode the encoder and the decoder use a schema,
> the EXI 1.0 version specifies XML schema informed grammars. The reference
> to that schema is carried in the EXI header. The format of that "schemaId" 
> is not specified for 1.0 processors, it can be whatever is practical for 
> the application. It is *optional* in the EXI header, even when a schema is
> in use: applications can also "share" this information out of band. 
> EXI 1.0 is intentionally liberal on a number of details and defers them to 
> the application level, so that it can support a large range of use cases.

Right. It is exactly these kinds of applications that are using schema informed mode natively (without intermediate XML), where the application/foo+exi media type helps to determine this information out of band. When registering foo+exi, the schema information should be included in the registration.  In addition to SE2 mentioned so far, also our specification on SenML [http://tools.ietf.org/html/draft-jennings-senml-07] is requesting an application/senml+exi media type. Both of these media types are aimed at constrained embedded devices.

Zach

-- 
Zach Shelby, Chief Nerd, Sensinode Ltd.
http://www.sensinode.com
http://zachshelby.org  - My blog "On the Internet of Things"
http://6lowpan.net - My book "6LoWPAN: The Wireless Embedded Internet"
Mobile: +358 40 7796297