[mmox] Conversions in an heterogeneous grid

Catherine Pfeffer <cathypfeffer@gmail.com> Wed, 25 February 2009 13:13 UTC

Return-Path: <cathypfeffer@gmail.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 9E17A28C169 for <mmox@core3.amsl.com>; Wed, 25 Feb 2009 05:13:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.33
X-Spam-Level:
X-Spam-Status: No, score=-2.33 tagged_above=-999 required=5 tests=[AWL=0.268, BAYES_00=-2.599, HTML_MESSAGE=0.001]
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 X-hHAIuSofd6 for <mmox@core3.amsl.com>; Wed, 25 Feb 2009 05:13:19 -0800 (PST)
Received: from mail-ew0-f164.google.com (mail-ew0-f164.google.com [209.85.219.164]) by core3.amsl.com (Postfix) with ESMTP id 740113A680B for <mmox@ietf.org>; Wed, 25 Feb 2009 05:13:19 -0800 (PST)
Received: by ewy8 with SMTP id 8so10614ewy.13 for <mmox@ietf.org>; Wed, 25 Feb 2009 05:13:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=B5R8j+eYF/xGZ7ZcmEZoXChAMC9SQEq76TwYvIk2wIU=; b=fimHO72PfERG4AA/DR84+ELZJIOkxvrfv3gMlfb7vgxUyy+s3+4SXSiELQ1sBIcfw+ ny6QPVhatoldNP6BxWpjtZYaZxUaY1UKT4PqzDW07Ow3EzBRJlHxti/o4wcO/4FZape0 AgM4rXnQog/wflu6xQbM9q3WDgZriSZxURQSw=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=NFWZAa95nOfwdFgJnKwLB+gwlg/YJv9CatWQLhFI6rNKckSoZIRTySvIWNrRY46bW0 nmdNpV/418cuujQuw679TE/SpM1GbXxBMGFI7e0Pia4Y0l7J9cpB4o8Bu9VCwOWnOIeB 0ezWt784SsPjNwsr7P3hNlQpYjofGrraFvZW8=
MIME-Version: 1.0
Received: by 10.210.11.17 with SMTP id 17mr91311ebk.32.1235567618439; Wed, 25 Feb 2009 05:13:38 -0800 (PST)
Date: Wed, 25 Feb 2009 14:13:38 +0100
Message-ID: <ebe4d1860902250513v24912233xab39734ab0d6f433@mail.gmail.com>
From: Catherine Pfeffer <cathypfeffer@gmail.com>
To: mmox@ietf.org
Content-Type: multipart/alternative; boundary="0015174be630fe3afd0463be0050"
Subject: [mmox] Conversions in an heterogeneous grid
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: Wed, 25 Feb 2009 13:13:20 -0000

Infinity wrote:
> <pdutastic>
>   <foo type="integer">13</foo>
>   <bar type="date">2008-12-15T13:17:23.235Z</bar>
>   <baz type="integer">93</baz>
>   <qux type="integer">161</qux>
> </pdutastic>

Now consider :
<pdutastic
      foo="13"
      bar="2008-12-15T13:17:23.235Z"
      baz="93"
      qux="161" />

Nothing prevents you here from converting 2008-12-15T13:17:23.235Z into an
integer percentage (zero) using the same conversion rules that are currently
in the LLSD specification (you get expected and sent types from the
schemas), or even, which is simpler, by using a "any-string to integer"
conversion.

-- 
Cathy