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

Re: Control characters in log message cause failure

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2004-12-01 18:59:55 CET

kfogel@collab.net wrote:
> ...
> Sorry, I was using incorrect terminology. When I wrote "valid UTF8",
> I really meant "the subset of UTF8 that contains no ASCII control
> codes except for LF, CR, TAB", which, as you point out, is not quite
> the same thing as "valid UTF8". For the rest of this message, I'll
> call such strings "conservative UTF8".
>
> The log message may still be UTF8, but if it's non-conservative UTF8,
> it needs to be escaped to travel over XML.
>
> Now, in this case escaping is possible, because the log message
> travels as CDATA, which can represent absolutely any byte string,
> right? So we can solve the ctrl-char-in-log-messages problem in way

Wrong. CDATA doersn't change anything. It's still the same set of
characters that are allowed (see for instance
<http://greenbytes.de/tech/webdav/rfc3470.html#binary>).

> ...

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 Dec 1 19:01:06 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.