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

Re: Parseable output: --xml option for more commands

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2005-01-15 18:33:38 CET

Julian Foad wrote:
> ...
> As far I can tell from the XML spec, the set of allowable characters is
> the same in each case (being the set of valid XML characters), but the
> escaping is different in each case. Bizarrely, the third form seems
> actually the most restrictive because I cannot see any way of
> representing the literal sequence "]]>" within it; am I missing something?
> ...

No, you aren't. You simply can't have "]]>" inside a single CDATA
section, thus you'll need multiple to properly encode it. For this (and
many other reasons), CDATA sections should be avoided; just use normal
text content and apply the required XML escaping rules.

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 Sat Jan 15 18:35:31 2005

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.