On 1/23/2012 9:23 AM, Philip Martin wrote:
What constitutes a valid XML name? I suppose it's things that don't require XML escaping?

An XML name is things like the name of an element, e.g. <fooBar>. You can't "escape" in an XML name, anyway. The specification of a valid XML name is here:

http://www.w3.org/TR/REC-xml/#NT-Name

So you would relax the restrictions in svn_prop_name_is_valid which would relax the restrictions libsvn_client. That in turn would relax the restrictions in JavaHL, the other bindings and the command line client. No protocol changes would be required.

That sounds correct, although I don't know the code well enough to speak to actual API calls. Basically I'm proposing that we set publicly what constitutes a valid Subversion name, and then make whatever code changes are needed to conform. A test suite comes to mind as a tool to assist in this, but that's another subject altogether.

Garret

Reply via email to