[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: supporting http proxy via a config file

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-03-13 01:35:56 CET

"Edward S. Marshall" <esm@logic.net> writes:
> I might have missed a discussion somewhere along the line, so forgive me
> if I'm asking a silly question, but why not simply use an XML-based
> configuration file format? expat-lite is already available to anything
> that needs it, and the general availability of expat and libxml would
> seem to make it an obvious choice.
>
> It just seems like inventing a new file format for the sake of inventing
> a new file format. Surely some reuse of an existing parser (XML or
> other) would make sense here?

Because these files are going to be edited by humans. Humans always
make syntax mistakes when editing XML. (Well, of course, *you and I*
don't make mistakes, but we're not humans, we're programmers.)

Note that we're not inventing a new config syntax. We're using what
is probably the most widespread syntax in the world -- the format of
Windows configuration files. It's intuitive to understand, easy to
write correct syntax by hand, and (voilą!) we already have a parser,
thanks to Brane.

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 13 01:26:13 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.