Ben Reser wrote:
>On Mon, Apr 12, 2004 at 10:09:51PM -0500, C. Michael Pilato wrote:
>  
>
>>Well, if we're doing hacks, can we simply differentiate between ":"
>>and the numeric character entity for a colon (what, "&x003a;" or
>>something) ?
>>    
>>
>
>We can't just use entities because & and ; aren't valid chars in element
>names.  We'd end up making up our own escaping sequence.  While the
>namespace seems hackish, we can let the XML parser do most of the work
>for us so it might end up being easier.  
>
>I suppose we could do something like:
>.x003a. and use an escape code for a literal period of .x002e.
>
>That would probably be pretty easy too.  But pretty specific to us.
>
>  
>
Escaping is fine and would work, but the namespace idea seems cleaner to 
me and would be understood by other DAV clients. It would also allow us 
to define a hierarchy of property namespaces; for example, "a:b:name" 
could be defined as "name" in namespace
    http://subversion.tigris.org/xmlns/customproperty/a/b
instead of
     http://subversion.tigris.org/xmlns/customproperty/a:b:
-- Brane
Received on Tue Apr 13 18:03:09 2004