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

Re: Encoding of .subversion config files?

From: Jim Blandy <jimb_at_red-bean.com>
Date: 2006-03-09 22:29:58 CET

On 3/9/06, Peter N. Lundblad <peter@famlundblad.se> wrote:
> > - What syntax should we use? The files aren't XML, so we need to make
> > up our own.
>
> Something like:
> - The first line including
> "(en)?coding: ?([a-zA-Z][a-zA-Z0-9-]+)". (Just a suggestion, could
> be discussed further).

The XML spec gives a syntax the names themselves must follow; it's the
surrounding fluff we get to make up.
http://www.w3.org/TR/REC-xml/#charencoding says (in regexp-speak):

  [a-zA-Z][-a-zA-Z0-9._]*

We'll need to wrap this up so as to be easily used for all the various
config files.

But --- pop pop pop --- is there general agreement that this is the
right thing to do?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 9 22:30:55 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.