W3C home > Mailing lists > Public > xml-dist-app@w3.org > October 2000

Re: Removal (Time for XMail?)

From: Fredrik Lundh <fredrik@pythonware.com>
Date: Mon, 2 Oct 2000 12:03:25 +0200
Message-ID: <03f101c02c58$01880710$0900a8c0@SPIFF>
To: <xml-dist-app@w3.org>
Bill wrote:
> If I have x----x]]>x----x then my CDATA logic produces
> <!CDATA[x----x]]>]]><!CDATA[x----x]]>
> 
> This works great, and its easy to scan for any ]]> and take care not
> to wrap them in a CDATA section.

I think that results in slightly broken XML; quoting section 2.4:

    The right angle bracket (>) may be represented using the
    string "&gt;", and must, for compatibility, be escaped using
    "&gt;" or a character reference when it appears in the string
    "]]>" in content, when that string is not marking the end of a
    CDATA section. 

</F>
Received on Monday, 2 October 2000 06:05:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:57 GMT