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

Re: [PROPOSAL] Drop XML from .svn/entries

From: Jesper Moller <jesper_at_selskabet.org>
Date: 2006-04-12 14:06:40 CEST

>Justin Erenkrantz wrote:
[...]
>> I wonder how the ConfigParser / INI format would do? We already use
>> that in a bunch of other places and have all the parsing code in
>> libsvn_subr.
>It woudl do just great, except that we'd probably have to optimize it a
>bit (it currently does character-by-character reads from a stream, but a
>buffered stream would fix that).
>
>The really nice part is that, unlike the XML parser which must be taught
>in advance about new tags when a format changes, the config file parser
>doesn't have to know about section and value names. So we could embed
>the entries version number in the file itself and interpret it /after/
>we've parsed the file.

The config API cannot write files yet, though!?

Also, we must decide if it uses local 8-bit-based encoding or UTF-8 (current practise for using the routines assume that they're UTF-8, which is never correct for values read through the Windows registry, there was a thread about this - see <http://svn.haxx.se/dev/archive-2006-04/0094.shtml>)

-Jesper

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 12 13:37:02 2006

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.