[mmox] XML way loosely typed?

Catherine Pfeffer <cathypfeffer@gmail.com> Wed, 25 February 2009 12:51 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 C5D6E3A6900 for <mmox@core3.amsl.com>; Wed, 25 Feb 2009 04:51:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level:
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[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 mcHMWwF1zdXq for <mmox@core3.amsl.com>; Wed, 25 Feb 2009 04:51:35 -0800 (PST)
Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by core3.amsl.com (Postfix) with ESMTP id C93F23A688A for <mmox@ietf.org>; Wed, 25 Feb 2009 04:51:34 -0800 (PST)
Received: by nf-out-0910.google.com with SMTP id d3so919nfc.39 for <mmox@ietf.org>; Wed, 25 Feb 2009 04:51:53 -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=hJ+y9HuA8VxTxnS2UeHIg4RSKg3Go0kTHRMZ+dZlmfA=; b=YbsGIYmLTn2LX3VUh1N8yCeJ4T0d8ST9dJeigCUd5pnrr5S/24xy2WDtaDescb0WTv rRmgL0OgLclw3MYkCoaEAcHSuoLDAI9u/kO9XWCP8m8gDGTb9jn1xLeznuvykp9rD/jO PiT65I33wNsZIl3Ws39HWonrTSB9IxNeH+C9c=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=t6Ad2pCLkqs4hmg9fW+YEPya/zCyMDosOYvx2WBHmADQfmP0rDYF5bec5ySZCcOL7Q Fr6nvYfpabFFILBZDWZUx3SN9Brf4L7uBC0H3ABPn4vaXM44c0JdnV2iwN4WB1jXY7rd wdW/clxf5ZvvQm5kAhRsgnhivJDGsAP1Bw0sc=
MIME-Version: 1.0
Received: by 10.210.82.2 with SMTP id f2mr47528ebb.178.1235566313531; Wed, 25 Feb 2009 04:51:53 -0800 (PST)
Date: Wed, 25 Feb 2009 13:51:53 +0100
Message-ID: <ebe4d1860902250451x4f7a607ao2dd8187a36e43199@mail.gmail.com>
From: Catherine Pfeffer <cathypfeffer@gmail.com>
To: mmox@ietf.org
Content-Type: multipart/alternative; boundary="0015174c40b036ea470463bdb3b9"
Subject: [mmox] XML way loosely typed?
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 12:51:35 -0000

Tom wrote:
> Apologies if I missed the answer if it was in an earlier message...
>
> The "XML way" message appears to be loosly typed. How could a parser
create an object from that
> XML data and know the difference between an integer and a float, or a UUID
and a string?

>From the associated schema.

The schema is the place where you usually declare the data types in the XML
world.

-- 
Cathy