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

Re: XML-safe property names

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2003-10-27 14:40:17 CET

Francois Beausoleil wrote:
> Hello Julian,
>
> On Mon, 27 Oct 2003 01:37:11 +0000, "Julian Foad"
> <julianfoad@btopenworld.com> said:
> [snip]
>
>>I have just committed (r7528) a check in libsvn_client that each property
>>name being set is in the form of an XML "Name", which is:
>
> [snip]
>
>>The restriction is enforced on "propset" (and "propedit", after exiting
>>the editor). The idea of this is to prevent people from creating any
>
> Wouldn't it have been more useful to do it before opening the editor ?

Yes, that would have been more friendly, but that would have required the check being in the client rather than (or as well as) in the libraries, which did not feel like a good way to do it.

After a while, we can put the restriction on all property accesses, including "get", and then the "propedit" operation will fail at the "get" stage before opening the editor. So this is only a temporary unfriendliness.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 27 14:40:30 2003

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.