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

Re: [Issue 1118] Changed - Subversion cannot handle paths containing tabs.

From: <cmpilato_at_collab.net>
Date: 2003-01-27 21:32:33 CET

Luke Blanshard luke@blanshard.us writes:

 + ------- Additional Comments From kfogel@tigris.org 2003-01-27 09:40
 PST -------
 + This may be due to a long-standing problem (which was only theoretical
 + up till now) in our XML formats, namely, that we use attributes for
 + path names, instead of cdata. Do attribute values really allow any
 + UTF-8 data to pass through unmunged, or do they have tighter
 + restrictions? I think they might be a bit tighter, patricularly when
 + it comes to things like whitespace. Not positive about that, though.
 
 Not really tighter, just different. Whitespace characters in attribute
 values are all converted to spaces -- unless they are escaped. So the
 correct way to escape filewitha\ttab would be filewitha#9tab. Just
 embedding the tab in there directly will not work.

Unfortunately, expat doesn't seem to agree with you on that. :-( Using
the working copy from the recipe attached to the issue, I modified my
entries file to have:

entry
   name=here is a tab#9file
   kind=file
   schedule=add/

And I get the same error I got when #9 was a real tab.

I'm in no position to dispute your XML knowledge. Just saying that as
a quickie solution, that doesn't seem to do the job for me.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:20:21 2006

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