Re: [mmox] LLIDL or schemas?
"Meadhbh Hamrick (Infinity)" <infinity@lindenlab.com> Tue, 24 February 2009 17:29 UTC
Return-Path: <infinity@lindenlab.com>
X-Original-To: mmox@core3.amsl.com
Delivered-To: mmox@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A76113A6971 for <mmox@core3.amsl.com>; Tue, 24 Feb 2009 09:29:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.503
X-Spam-Level:
X-Spam-Status: No, score=-3.503 tagged_above=-999 required=5 tests=[AWL=0.096, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jRcguXzt-ug4 for <mmox@core3.amsl.com>; Tue, 24 Feb 2009 09:29:36 -0800 (PST)
Received: from tammy.lindenlab.com (tammy.lindenlab.com [64.154.223.128]) by core3.amsl.com (Postfix) with ESMTP id D71DF3A6874 for <mmox@ietf.org>; Tue, 24 Feb 2009 09:29:36 -0800 (PST)
Received: from [192.168.1.10] (dsl-63-249-112-43.cruzio.com [63.249.112.43]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tammy.lindenlab.com (Postfix) with ESMTP id 46A913DBC44D; Tue, 24 Feb 2009 09:29:56 -0800 (PST)
Message-Id: <10448809-5E0B-4862-8A05-658B372C1D76@lindenlab.com>
From: "Meadhbh Hamrick (Infinity)" <infinity@lindenlab.com>
To: Catherine Pfeffer <cathypfeffer@gmail.com>
In-Reply-To: <ebe4d1860902240920q50e27303k51d663a3eb21e4bb@mail.gmail.com>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Tue, 24 Feb 2009 09:29:55 -0800
References: <ebe4d1860902240920q50e27303k51d663a3eb21e4bb@mail.gmail.com>
X-Mailer: Apple Mail (2.930.3)
Cc: mmox@ietf.org
Subject: Re: [mmox] LLIDL or schemas?
X-BeenThere: mmox@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Massively Multi-participant Online Games and Applications <mmox.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mmox>, <mailto:mmox-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmox>
List-Post: <mailto:mmox@ietf.org>
List-Help: <mailto:mmox-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmox>, <mailto:mmox-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Feb 2009 17:29:37 -0000
hmm.. that's an idea.. we could move the binary and JSON serializations to a separate, informational RFC. honestly... we (Linden) would love to not have to support JSON, but the input we got from peeps doing web 2.0-ish stuff is that JSON was preferred to XML, which is why it's in the draft. translating from LLSD to an XML serialization is NOT the equivalent of translating from English to French. Human languages tend to have MUCH more ambiguity and are MUCH more subject to context. I would point out that if translating from LLSD to XML is hard, and subject to error, then certainly translating from a C data structure to XML is also hard and subject to error. both processes consume a well defined "atom" of data and produce another well defined "atom" of data in a different format. the use case for the JSON and Binary serializations are in the draft. feedback we received from the AWG was that the XML format was too encumbering for messages that should be processed quickly. the use case for the JSON serialization comes from the people whose product / project consumes data from a LLSD data source and uses it in an AJAX context. On Feb 24, 2009, at 9:20 AM, Catherine Pfeffer wrote: > Jon said: > > I propose that the data structure > > definition language be moved to some XML schema. > > Yes, LLIDL makes no sense in the XML world, where there are schemas > (or DTDs) for that. > > That's another example of technical compromise needed by this "three > serializations" scheme. > > My suggestion would be: "do only one serialization, but do it well"... > - If XML has an angle bracket tax that is too expensive to pay, > especially on limited capability devices, then let's stick to a > binary format only. > - If XML is the way to go because it's more flexible, human- > readable, and because there's already a bunch of tools for it, then > go for it only, but do it using all the possibilities of the XML > technology. > > My opinion is that doing an 1:1 transposition of a binary format is > just like automatically translating French into English word per > word, it gives bad (although sometimes really funny) results. > > Anyhow, who is asking for a choice between three serializations? Is > there a use case for that? > > Don't take it bad, Infinity. I'm just trying to put my engineering > knowledge at the service of realistic and long-term decisions, not > to destroy Linden Lab's vision of the future. > > -- > Cathy > _______________________________________________ > mmox mailing list > mmox@ietf.org > https://www.ietf.org/mailman/listinfo/mmox
- [mmox] LLIDL or schemas? Catherine Pfeffer
- Re: [mmox] LLIDL or schemas? Meadhbh Hamrick (Infinity)
- Re: [mmox] LLIDL or schemas? Veikko Eeva