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

Re: bug: TortoiseSVN refuses valid property names

From: Garret Wilson <garret_at_globalmentor.com>
Date: Sun, 15 Jan 2012 23:29:35 -0800

On 1/15/2012 11:16 PM, Stefan Küng wrote:
> ...
> * SVNKit is *not* an official svn package.

OK, but in the absence of an official specification of Subversion
properties, the behavior of clients in the wild is relevant, I would think.

> * you're confusing DAV properties and SVN properties. Those are
> completely different things.

I don't know if you read the article I referenced. I'm aware of what
WebDAV properties are---I implemented both a client and a server
directly from RFC 2518 itself. The point here is that Subversion over
mod_dav is yet another client implementation, and the Subversion
properties I indicated can be set and retrieved over this client as
well. (I'm pretty sure the mod_dav-based client is an "official" svn
package.) So two Subversion clients (one official, one not) accepts
these properties; TortoiseSVN does not. I'm trying to find out why.

> * the error you get is because your property name is in fact invalid
> if used as an svn property: it must not contain spaces

There are no spaces in the property name I provided. The article even
points out the Unicode code points of the characters I'm using. And as I
mention, all the characters I'm using are valid XML name characters.
(Yes, I know XML is not Subversion, but in the absence of a Subversion
property specification, the fact that another widely-used and
rigorously-documented/tested specification accepts these characters are
valid name characters is surely germane, especially since the WebDAV
Subversion implementation uses XML as its communication format and
Subversion properties are stored as XML names.)

> (for one, there
> are more restrictions).

If you could point me to some specification that indicates these
restrictions, I would be grateful. So far you haven't mentioned any
restrictions that apply to the property name I provided.

I imagine that this problem ultimately lies on the Subversion side, but
since the problem first arose for me on TortoiseSVN, I wanted to run it
by the experts here. Thanks for any insight.

Garret

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2909064

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-01-16 08:29:43 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.