1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] free XML Parser (was Re: clients anyone?...) -->
<!--X-From-R13: Xnzrf Ivyfba <wjvyfbaNebpurfgre.ee.pbz> -->
<!--X-Date: Mon, 17 Aug 1998 17:47:58 &#45;0700 -->
<!--X-Message-Id: 98081718540700.22686@d185d1e96 -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 19980813235551.B15838#yuma,Princeton.EDU -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] free XML Parser (was Re: clients anyone?...)</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:jwilson#rochester,rr.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00753.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00755.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00732.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00688.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00754">Author</A>
&nbsp;|&nbsp;<A HREF="#00754">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00754">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] free XML Parser (was Re: clients anyone?...)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] free XML Parser (was Re: clients anyone?...)</LI>
<LI><em>From</em>: James Wilson &lt;<A HREF="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</A>&gt;</LI>
<LI><em>Date</em>: Mon, 17 Aug 1998 18:46:44 -0400</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Thu, 13 Aug 1998, Adam J. Thornton wrote:
&gt;On Fri, Aug 14, 1998 at 03:51:59AM +0100, Andrew Wilson wrote:

&gt;&gt; XML is meant to be lightweight, so it probably won't cause too much
&gt;&gt; of a noticable performance hit clientside, unless your client is
&gt;&gt; especially graphics hungry.  I'm not sure how much of the client
&gt;&gt; machine's processing capacity is used up by something as intensive
&gt;&gt; as UO's client.  My guess is that it's "as much as possible".
&gt;
&gt;I'll look into XML, then.  If there are freely-distributable reasonably
&gt;lightweight parsers ready to link into one's own code, it might be a
&gt;reasonable solution.

I didn't see a response mentioning expat, James Clark's free xml parser. 
It's the xml parser which will be used in the next release of Netscape,
and which will form the basis for Perl's upcoming xml support. See 
&lt;url: <A  HREF="http://www.jclark.com">http://www.jclark.com</A>&gt;. God bless James Clark. I use expat at work 
and man it's fast. It's in ansi c so shouldn't be a problem to integrate into
whatever architecture you've got.

[snip]

&gt;I envision most player commands being put in a tokenized form before
being
 &gt;sent; likewise update-to-the-world data will generally be tokenized. 
For
 &gt;example:
&gt;
&gt;Player Client: &lt;&lt;Move towards (5,5) with speed 3.2&gt;&gt; or 
&gt;               &lt;&lt;Get Hammer&gt;&gt; or
&gt;               &lt;&lt;Give Banknote to Bubba&gt;&gt;,
&gt;where the verbs will be replaced with some canonical form, and object id's
&gt;will likewise be obj_id_t's, which currently are just good old 32-bit
&gt;integers.  I think it will be easy to fit all of the common
&gt;non-conversation situations into a 200-byte block.

it seems like what XML would buy you is a standard, extensible way of doing 
this encoding which is not you-specific. I've found sgml/xml to be quite
useful for encoding information in a _reusable_ way; using it here means it 
would be easier for someone else to look at your communications protocols
and write a new client or server that works with it.

James


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00716" HREF="msg00716.html">[MUD-Dev] Re: clients anyone?...</A></STRONG>
<UL><LI><EM>From:</EM> "Adam J. Thornton" &lt;adam#phoenix,Princeton.EDU&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00753.html">[MUD-Dev] Marian's Tailor Problem</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00755.html">[MUD-Dev] Re: Question for the list (Semi-OT)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00732.html">[MUD-Dev] Re: clients anyone?...</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00688.html">[MUD-Dev] JASSS: The Journal of Artificial Societies and Social Simulation</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00754"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00754"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: clients anyone?...</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00714" HREF="msg00714.html">[MUD-Dev] Re: clients anyone?...</A></strong>, 
Andrew Wilson <a href="mailto:andrew#aaaaaaaa,demon.co.uk">andrew#aaaaaaaa,demon.co.uk</a>, Fri 14 Aug 1998, 02:52 GMT
<UL>
<LI><strong><A NAME="00716" HREF="msg00716.html">[MUD-Dev] Re: clients anyone?...</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Fri 14 Aug 1998, 03:56 GMT
<UL>
<LI><strong><A NAME="00727" HREF="msg00727.html">[MUD-Dev] Re: clients anyone?...</A></strong>, 
Andrew Wilson <a href="mailto:andrew#aaaaaaaa,demon.co.uk">andrew#aaaaaaaa,demon.co.uk</a>, Sat 15 Aug 1998, 01:11 GMT
<UL>
<LI><strong><A NAME="00732" HREF="msg00732.html">[MUD-Dev] Re: clients anyone?...</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,Princeton.EDU">adam#phoenix,Princeton.EDU</a>, Sat 15 Aug 1998, 04:59 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00754" HREF="msg00754.html">[MUD-Dev] free XML Parser (was Re: clients anyone?...)</A></strong>, 
James Wilson <a href="mailto:jwilson#rochester,rr.com">jwilson#rochester,rr.com</a>, Tue 18 Aug 1998, 00:47 GMT
</LI>
</UL>
</LI>
</UL>
</LI>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00688" HREF="msg00688.html">[MUD-Dev] JASSS: The Journal of Artificial Societies and Social Simulation</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 12 Aug 1998, 17:40 GMT
<LI><strong><A NAME="00685" HREF="msg00685.html">[MUD-Dev] ADMIN: Over quoting (again)</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 12 Aug 1998, 17:01 GMT
<LI><strong><A NAME="00682" HREF="msg00682.html">[MUD-Dev] RE: Methods to Reduce Ecological Wipeout</A></strong>, 
Koster, Raph <a href="mailto:rkoster#origin,ea.com">rkoster#origin,ea.com</a>, Wed 12 Aug 1998, 15:15 GMT
<UL>
<LI><strong><A NAME="00694" HREF="msg00694.html">[MUD-Dev] Re: Methods to Reduce Ecological Wipeout</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 12 Aug 1998, 21:43 GMT
</LI>
</UL>
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>