[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-14 19:09:59 CEST

kfogel@collab.net wrote:
> Ben Reser <breser@siaer.com> writes:
>
>>On Tue, Jul 13, 2004 at 01:08:01AM +0200, Julian Reschke wrote:
>>
>>>>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).
>>
>>That's what I thought he meant...
>
> Right, that's what I meant.
>
> I'm operating under the assumption that XML has no standard way, in
> attribute values, to represent every possible character. Whereas in
> CDATA, there *is* a way to represent every possible character.

No. Again: the set of legal characters in XML content is the same for
attributes, plain text or CDATA sections. Only the escaping rules
differ. You can't have any control character except CR, LF and TAB
inside XML content.

> If there were a way to do it in attributes as well, then we'd be fine
> (even if that way were different from the CDATA way).

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 Wed Jul 14 19:10:15 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.