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

bug: Subversion rejects property names

From: Garret Wilson <garret_at_globalmentor.com>
Date: Sun, 15 Jan 2012 18:33:32 -0800

Because Subversion over WebDAV (and Subversion in general) doesn't
support namespace URIs in property names (see P.S.), I've created a
system in which I encode URIs in property names. For example, here is
one such property name:

    http·3a·2f·2fpurl.org·2fdc·2felements·2f1.1·2ftitle

I've written an article further explaining this approach for Subversion
properties.

    http://www.garretwilson.com/blog/2008/04/08/subversionpropertynamespaces.xhtml

This approach works fine in Subversion over mod_dav on Apache. It works
fine using SVNKit. (Note that the blog above is itself backed by a
Subversion store using the noted Subversion property to indicate the
title, "Subversion Property Namespaces".)

Such Subversion properties don't work in TortoiseSVN, though, giving me
a "Bad property name" error. They also don't work in Subclipe, giving a
similar error message (via JavaHL, it appears).

I'm assuming that this is a bug in the Subversion implementation. What
do I need to do to get these properties accepted? These are valid
Unicode characters---and indeed valid XML name characters (something I
was very mindful of when I created this encoding scheme).

Garret

P.S. Note that the reason I had to encode the properties to begin with
is because Subversion over WebDAV wasn't honoring the namespace I
requested. I brought this up several times years ago, but no one
replied. :( See e.g. http://svn.haxx.se/users/archive-2007-12/0640.shtml
. Now Subversion is yet again fighting me, and I don't know why...
Received on 2012-01-16 03:34:17 CET

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

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