[JDEV] Why XML for everything?

John Price linux-guru at gcfl.net
Wed Sep 29 17:37:29 CDT 1999


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, 29 Sep 1999, Jeremie wrote:

[snip]

> > > But I don't understand the use of XML for ALL your server/client
> > > messages.  I can understand it's use for the message itself.  It
> > > would facilitate changes in font, color, etc. but why use it for
> > > everything?  Seems like it would really increase the processing time
> > > to parse all that...
> > 
> > I agree, I would hate to have a full XML parser library reside on the
> > client, when a quick and dirty parser would do.
> 
> The way that we are using XML in Jabber doesn't require a "full" XML
> parser, there doesn't need to be any validation, no internal DTDs or
> entities, no PIs, etc, so a quick-n-dirty custom parser would be enough to
> get you by, but in the end it would probably be easier to just find a
> decent lightweight XML parser and use it.
> 
> I know that there was some difficulty finding an XML parser in Java that
> didn't require the full document (it wouldn't process a "stream" on the
> fly), so some work has gone into writing a streaming parser around the
> internal tokenizer of the XT parser.  Ask on the java-dev list for more
> info...

I still don't really have an answer to my original question (see above).
Not trying to be a pest, but I just want to understand the ideas behide
the decisions that have been made regarding Jabber.


- -- 
John Price <linux-guru at gcfl.net>

PGP key at http://www.gcfl.net/~linux-guru/publickey.txt

John's FreeDOS page -> http://www.gcfl.net/FreeDOS

AIM ID "GCFL Owner"
ICQ 24079586

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GE d-> s++:+ a C++ UL++++ P+ L+++> E- W+++ N+ o+ K- W--- O- M-- V--
PS-- PE+ Y+ PGP++> t+ 5 X++ R- tv+ b+ DI+ D+ G+ e++> h r+++ y+++
- ------END GEEK CODE BLOCK------

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQA/AwUBN/KGm7R4GidzvvE7EQIwCACgzR7blGccpFKAFkzdAAAuS2/6yIYAnjiV
bdD1F/d+SmlSrfcHXiy3vUwa
=1El4
-----END PGP SIGNATURE-----





More information about the JDev mailing list