[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 21:15:00 CET

kfogel@collab.net wrote:
> Julian Reschke <julian.reschke@gmx.de> writes:
>
>>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>).
>>
>>
>>>...
>
>
> So XML CDATA cannot represent arbitrary strings of bytes, by using
> escaping?

Yes. It can represent exactly the same set of characters allowed in
non-CDATA content, just the escaping rules are different. Or to reprase
it differenty: no matter which kind of character representation you
choose (different encodings, entity references, CDATA, whatever), the
set of legal characters in XML never changes.

Of course, until you start looking at XML 1.1.

> /me sits stunned in his chair

You're not the first one :-) Once you've absorbed this, start teaching
to those you still think that CDATA is a catch-all for those things XML
doesn't allow otherwise.

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 21:26:07 2004

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