Re: [vwrap] Working Draft: SNOW-375
Dzonatas Sol <dzonatas@gmail.com> Mon, 02 August 2010 20:15 UTC
Return-Path: <dzonatas@gmail.com>
X-Original-To: vwrap@core3.amsl.com
Delivered-To: vwrap@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix)
with ESMTP id 483503A6C52 for <vwrap@core3.amsl.com>;
Mon, 2 Aug 2010 13:15:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.369
X-Spam-Level:
X-Spam-Status: No, score=-0.369 tagged_above=-999 required=5 tests=[AWL=0.370,
BAYES_20=-0.74]
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 1FYuGUNvJxuf for
<vwrap@core3.amsl.com>; Mon, 2 Aug 2010 13:15:24 -0700 (PDT)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com
[209.85.160.44]) by core3.amsl.com (Postfix) with ESMTP id 7C47F3A68F2 for
<vwrap@ietf.org>; Mon, 2 Aug 2010 13:15:24 -0700 (PDT)
Received: by pwj1 with SMTP id 1so1659080pwj.31 for <vwrap@ietf.org>;
Mon, 02 Aug 2010 13:15:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from
:user-agent:mime-version:to:cc:subject:references:in-reply-to
:content-type:content-transfer-encoding;
bh=hsmD6CkS1CbA2khzR++MxTd6fZjiuU22673+YOZst4g=;
b=DlKqm88PXDCQI26CLWE9vwe9Q57LOcCAtPhpENg6h00ziPTL8eb2vGWNQ+lyXwx8uP
6REuQCHNFJiCrb7Wim66oawmq6s7zW6ttqRcz2Pzzx03SfYfN0lfSlpHlXXcwKeRXUj6
EFWqBhCBFuVwHucl8yTNYM0xHy6a8MLObLbfs=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
h=message-id:date:from:user-agent:mime-version:to:cc:subject
:references:in-reply-to:content-type:content-transfer-encoding;
b=N0Dkx13uuCmkimhAcE7oveOpbhunT9XbLbXcN8zoU6Djkcbs3Ekb7DclQnrJmNL15M
vEG11ElX4hTPuRYk/YvwQrSPfCvgGDiepWtiVCR5JsRJWkNS6mBOjXoNiRUY2hPcXp4e
rSIivYmRXNxfAUyu1fdZcU2FdsroEW2Rq1MMU=
Received: by 10.142.161.3 with SMTP id j3mr5938197wfe.145.1280780152357;
Mon, 02 Aug 2010 13:15:52 -0700 (PDT)
Received: from [192.168.0.50] (adsl-68-124-103-250.dsl.scrm01.pacbell.net
[68.124.103.250]) by mx.google.com with ESMTPS id
w27sm8126102wfd.5.2010.08.02.13.15.50 (version=TLSv1/SSLv3 cipher=RC4-MD5);
Mon, 02 Aug 2010 13:15:51 -0700 (PDT)
Message-ID: <4C572A6E.8070905@gmail.com>
Date: Mon, 02 Aug 2010 13:28:30 -0700
From: Dzonatas Sol <dzonatas@gmail.com>
User-Agent: Mozilla-Thunderbird 2.0.0.24 (X11/20100329)
MIME-Version: 1.0
To: Joshua Bell <josh@lindenlab.com>
References: <4C542CAC.1090301@gmail.com>
<AANLkTinLVdcwHGWWuXztN6EnBA5jL56iaRvX9pR54vOX@mail.gmail.com>
In-Reply-To: <AANLkTinLVdcwHGWWuXztN6EnBA5jL56iaRvX9pR54vOX@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: "vwrap@ietf.org" <vwrap@ietf.org>
Subject: Re: [vwrap] Working Draft: SNOW-375
X-BeenThere: vwrap@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Virtual World Region Agent Protocol - IETF working group
<vwrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/vwrap>,
<mailto:vwrap-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vwrap>
List-Post: <mailto:vwrap@ietf.org>
List-Help: <mailto:vwrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vwrap>,
<mailto:vwrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 02 Aug 2010 20:15:26 -0000
Joshua Bell wrote: > > >>>> > Payloads that contain nested XML structures may not work well with > JSON, so only LLSD is supported. This could be resolved with JSON > specific queries, yet Snowglobe would still internally have to convert > LLSD to JSON, so that would be an implementation detail on the > transport layer. > <<<< > > Can you elaborate here? Do you mean payloads that contain XML > fragments, where an XML document serialization would be more natural > than JSON with XML islands? Or...? > > I'm a big fan of JSON despite the sparse types meaning it's not a > perfect serialization format for LLSD, and have been a heavy user of > XML, so understanding your issue is important to me. > > In such cases for XML, I currently assume that full secure encapsulation/canonicalization is needed to pass on sanity to non-XML formats. If we assume XML only, then one valid XML structure is directly implantable into another XML structure where allowed (ambiguous tags, variable DTDs, intra-tags). I don't see a way for JSON to support intra-tags. I have written raw XML parsers that fold and unfold structures dynamically, and the parser knows nothing about its data or types. I could apply such technique instead of encapsulation. When people say they don't like XML, I know they actually mean they don't like DTDs, which should have been a separate standard than raw XML. -- --- https://twitter.com/Dzonatas_Sol --- Web Development, Software Engineering, Virtual Reality, Consultant
- [vwrap] Working Draft: SNOW-375 Dzonatas Sol
- Re: [vwrap] Working Draft: SNOW-375 Joshua Bell
- Re: [vwrap] Working Draft: SNOW-375 Dzonatas Sol
- Re: [vwrap] Working Draft: SNOW-375 Joshua Bell
- Re: [vwrap] Working Draft: SNOW-375 Dzonatas Sol
- Re: [vwrap] Working Draft: SNOW-375 Dzonatas Sol
- Re: [vwrap] Working Draft: SNOW-375 Dzonatas Sol
- [vwrap] xml-org-ietf-vwrap- Re: Working Draft: SN… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dickson, Mike (ISS Software)
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol
- [vwrap] Post-Mortem Re: xml-org-ietf-vwrap- Re: W… Dzonatas Sol
- Re: [vwrap] xml-org-ietf-vwrap- Re: Working Draft… Dzonatas Sol