[mmox] Good XML or no XML at all

Catherine Pfeffer <cathypfeffer@gmail.com> Thu, 26 February 2009 13:02 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 726C43A6BE1 for <mmox@core3.amsl.com>; Thu, 26 Feb 2009 05:02:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.372
X-Spam-Level:
X-Spam-Status: No, score=-2.372 tagged_above=-999 required=5 tests=[AWL=0.226, 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 Fy7PSclbibtl for <mmox@core3.amsl.com>; Thu, 26 Feb 2009 05:02:37 -0800 (PST)
Received: from mail-bw0-f178.google.com (mail-bw0-f178.google.com [209.85.218.178]) by core3.amsl.com (Postfix) with ESMTP id 1CC173A6AAA for <mmox@ietf.org>; Thu, 26 Feb 2009 05:02:36 -0800 (PST)
Received: by bwz26 with SMTP id 26so489986bwz.37 for <mmox@ietf.org>; Thu, 26 Feb 2009 05:02:57 -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=yDWBaeXAXv136pTw3VlotnbUHwW59a3EmAi4CddSfb0=; b=Cj3VQTM5HMOxQb+kDjos1jIHrjNzfzsUHzg4LRBVSd24303C4VmJ0OCJMZ7UVRtHeJ EjzD645FzoPhp6C+h6gZhBZ5OoHMA/VU1cvqFPli7ZwymwoEdn+aNL8xfWxdJU7CzUyI IQuIIkNof49Arcs5mtwQJh4lUWrX313sHocCc=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=hoh0DC6awgONqlNAkau8Ba8lQ+bBRd/bTCfERehzJZ2vZIN5Q6wbFg8902a8oZ5aLs dVCEejy0WW1YhaJOKbAB5pZtS2v6RGxhqE6MSNvfOmyMOoXfAmSQCBosU222nBvHxR0E fWvL+MqKpHbpTwxseS9wrJSaMzNaLrTHKqls0=
MIME-Version: 1.0
Received: by 10.181.228.9 with SMTP id f9mr447420bkr.103.1235653377792; Thu, 26 Feb 2009 05:02:57 -0800 (PST)
Date: Thu, 26 Feb 2009 14:02:57 +0100
Message-ID: <ebe4d1860902260502ncf8d0ceqdda090bc7bc36e30@mail.gmail.com>
From: Catherine Pfeffer <cathypfeffer@gmail.com>
To: mmox@ietf.org
Content-Type: multipart/alternative; boundary="001636697576a61c260463d1f8e9"
Subject: [mmox] Good XML or no XML at all
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: Thu, 26 Feb 2009 13:02:38 -0000

> Catherine, this is excellent advice that you're giving us about XML, but
the
> underlying hint to "do everything in XML to do it properly" is not a
> worldview that I can subscribe to everywhere, for very practical and
> somewhat insurmountable RL engineering reasons.
>
> Using XML for communication with Limited Capability Clients can easily be
a
> deal breaker in the application domain that we're talking about,  (...)

We fully agree. XML does not fit well into virtual worlds context. Then
don't do XML.

My point was: if you are really to do XML (for whatever obscure reason which
I don't know yet), then, at least, please, do it correctly. Don't just
transpose one-by-one the binary serialization.

When I translate a text from German to French, for example, I don't simply
replace each German word with the equivalent French word. The result would
be terrible ;-).

(And yes, protocols also have a lot of context, just like human languages.
Behind XML there is a lot of paradigms and good practice, it does not just
boil down to a syntax)

Binary serialization goes well on Limited Capacity Clients. OK. Choose this
one.

Don't misunderstand me. I'm a big XML fan. I use XML everyday and partially
make a living out of it. But there are simply cases, like streamed video,
where it is not the right technical choice.

-- 
Cathy