OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: Is there anyone working on a binary version of XML?

[ Lists Home | Date Index | Thread Index ]
  • From: David Megginson <david@megginson.com>
  • To: <xml-dev@ic.ac.uk>
  • Date: Sat, 27 Mar 1999 10:56:48 -0500 (EST)

Rick Jelliffe writes:

 > One trivial way to minimise file sizes for transmission is to
 > collapse white-space inside markup (e.g. [\ \t \n\ r]+ becomes
 > [\n]),

Yes, that might be helpful (but only minimally in most cases).

 > sure that newlines are not CR LF pairs, 

Yes, that will make a small difference.  You might get a bigger bang
by doing some quick analysis to determine which character encoding
will provide the smallest object size: UTF-8, ISO-8859-1, UTF-16,
etc. (mileage will vary depending on the languages used in the text).

 > and to minimize whitespace in data: (removing trailing spaces, [\
 > \t]+\n) becomes [\n], is a safe transformation, for example.)

No.  It might be a safe transformation for specific XML formats, but
not for XML in general, because you don't know what people might be
using that whitespace for.

In general, though, what we need is a transport layer that takes care
of things like this for us.  Document type designers should optimise
for readability and usability, and let protocol designers worry about
the optimisations.

All the best,


David Megginson                 david@megginson.com

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS