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

RE: Re: config files on Windows

From: Jens Askengren <jensus_at_linux.nu>
Date: 2002-03-27 00:29:50 CET

tis 2002-03-26 klockan 23.59 skrev Bill Tutt:

Random arguments for XML everywhere:

> It's all about the file editing environment. Forcing people to hand
edit
> XML files via vi, Emacs, or any favorite editor of your choice just
> isn't a very nice thing at all.

It's much easier to learn one language (XML) instead of the thousand
languages of the .dotfiles:
httpd.conf, bind, procmailrc, inputrc, Xdefaults, gtkrc, cvsrc...

And with a DTD its easy to check the syntax of your file.

I have not yet seen a .ini/.conf parser that preservers comments.

> The Subversion folks aren't about to stick a UI to edit the
> configuration file in 1.0. They're simply too busy doing everything
> else.

Apaches (or proftpd, xinetd etc) configuration file is a härke (tm)
compared to Tomcats nice xml based configuration file. If apaches
httpd.conf was xml, then we would probably have lots of nice
configration GUIs for apache...

> Machine generated XML files (esp. those generated via using a DOM-like
> object model) aren't generally known for generating human editable
> output.
> (i.e. no pretty printing, and no line feeds)

Not necesarry. XML indentation is implemented in many
DOM-implementations. It's really trivial to implement.

Btw, woulden't it be nice with a xml based /etc/init.d replacement? ;)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 27 00:33:50 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.