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

Re: some valid Linux filenames break subversion

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2004-07-13 01:08:01 CEST

Ben Reser wrote:
> On Mon, Jul 12, 2004 at 02:48:53PM -0000, kfogel@tigris.org wrote:
>
>>More specifically, we put filenames in XML attributes, and there's no
>>way (?) to encode these characters for use in XML attribute names or
>>values. If we did the filenames as CDATA inside <name>...</name>
>>element or something, then we could encode.
>
>
> Uhh yeah what he said. :)

Sorry? The set of valid characters inside a CDATA section is exactly the
same as outside; just the escaping rules differ. If you want to
represent control characters (other than TAB, CR, LF) inside XML, you
need to use a custom escape format (such as BASE64, quoted printable or
URI-percent encoding).

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 13 01:08:32 2004

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