Garret Wilson wrote on Sun, Jan 15, 2012 at 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
>
/**
* Return @c TRUE iff @a prop_name is a valid property name.
*
* For now, "valid" means the ASCII subset of an XML "Name".
* XML "Name" is defined at http://www.w3.org/TR/REC-xml#sec-common-syn
*
* @since New in 1.5.
*/
svn_boolean_t
svn_prop_name_is_valid(const char *prop_name);
Use MIME Quoted-Printable?
> 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...
If you have questions about WebDAV details of libsvn_ra's
implementation, feel free to raise them on dev@.
Received on 2012-01-17 03:38:08 CET