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

Re: [PATCH] formatting dav human-readable errors

From: Ben Reser <ben_at_reser.org>
Date: 2004-09-28 23:20:35 CEST

On Tue, Sep 28, 2004 at 09:30:14PM +0100, Philip Martin wrote:
> It's not XML, it's a change to the text stored in an svn_error_t. I
> guess that means I need a better log message!

The fact that it's in svn_error_t doesn't mean it's not XML. The errors
we return via DAV are XML and that's what this is. But that presents a
further argument as to why it's not part of our API...

We've changed error messages before without ever thinking about if they
are creating problems for people parsing them. While this is a server
side message, client side messages are now being translated. So really
our message is opaque. It's intended to be an explanation to the user,
not something for a piece of software to parse.

Ben Reser <ben@reser.org>
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 28 23:21:22 2004

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.