| Store | Cart

XML overuse? (was Re: Python to XML to Python conversion)

From: Jonathan Hogg <jona...@onegoodidea.com>
Fri, 12 Jul 2002 09:07:53 +0100
On 12/7/2002 6:54, in article
mailman.1026453319.2703.python-list at python.org, "Oren Tirosh"
<oren-py-l at hishome.net> wrote:

> XML combines all the inefficiency of text-based formats with most of the> unreadability of binary formats :-)

Snicker away, but XML is the closest we've got to a universally accepted
structured data format.

> A growing number of utilities is a sign that a format is popular, not that> it is good. In fact, it may be argued that a simpler format would actually> need less tools. 

It doesn't need to be "good". I'm not even sure what you mean by "good". If
you feel you can do a better job of designing an extensible structured data
format that you can convince the rest of the world to write parsers and
generators for that plug into pretty much every available language, editor
and database, then be my guest.

If I need to exchange some structured data with someone else, I can spend an
unbounded amount of time agreeing a format in advance with them or I can
just pick a sensible looking schema and dump it to XML. As long as the other
party can see what the different tags mean they can trivially import it.

I'm not sure it is possible to "overuse" XML. If you need to read and write
structured data, why bother coming up with your own format? (see: the entire
contents of /etc) Or why use something that is proprietary to a particular
language or system? (see: Pickle)

Jonathan

Recent Messages in this Thread
Mark Jul 12, 2002 12:08 am
Harry George Jul 12, 2002 12:01 am
theh...@binary.net Jul 12, 2002 01:22 am
Jeremy Bowers Jul 12, 2002 03:01 am
Peter Hansen Jul 12, 2002 03:41 am
Oren Tirosh Jul 12, 2002 05:54 am
Erik Max Francis Jul 12, 2002 08:16 am
Tim Rowe Jul 12, 2002 04:37 pm
François Pinard Jul 12, 2002 02:49 pm
Peter Hansen Jul 12, 2002 04:08 pm
Jeremy Bowers Jul 12, 2002 02:52 pm
Huaiyu Zhu Jul 12, 2002 05:45 pm
holger krekel Jul 13, 2002 02:55 pm
Huaiyu Zhu Jul 15, 2002 06:04 pm
holger krekel Jul 16, 2002 01:18 pm
Clark C . Evans Jul 16, 2002 06:27 pm
Steve Howell Jul 16, 2002 06:31 pm
Huaiyu Zhu Jul 16, 2002 10:14 pm
Clark C . Evans Jul 17, 2002 01:30 am
James Kew Jul 17, 2002 10:52 pm
François Pinard Jul 18, 2002 11:11 am
Huaiyu Zhu Jul 18, 2002 06:10 pm
Huaiyu Zhu Jul 18, 2002 06:36 pm
Matt Gerrans Jul 12, 2002 07:03 am
Jonathan Hogg Jul 12, 2002 08:07 am
Clark C . Evans Jul 13, 2002 12:29 am
Alex Martelli Jul 12, 2002 08:01 am
Jeremy Bowers Jul 12, 2002 02:55 pm
Jeremy Bowers Jul 12, 2002 03:53 pm
Terry Reedy Jul 12, 2002 02:03 am
David Mertz, Ph.D. Jul 15, 2002 02:49 pm
Alex Martelli Jul 12, 2002 02:03 pm
Jonathan Hogg Jul 12, 2002 03:11 pm
Cameron Laird Jul 12, 2002 01:35 pm
Cameron Laird Jul 12, 2002 01:27 pm
Alex Martelli Jul 12, 2002 08:37 am
Doru-Catalin Togea Jul 12, 2002 09:43 am
Jonathan Hogg Jul 12, 2002 01:44 pm
François Pinard Jul 12, 2002 02:37 pm
Mike C. Fletcher Jul 12, 2002 04:56 pm
Jeremy Bowers Jul 12, 2002 03:00 pm
Tim Rowe Jul 12, 2002 04:37 pm
Messages in this thread