W3C home > Mailing lists > Public > xml-editor@w3.org > January to March 1998

Re: Comments on REC-xml-19980210

From: C M Sperberg-McQueen <cmsmcq@uic.edu>
Date: Tue, 17 Feb 1998 10:52:15 -0600
Message-Id: <199802171652.KAA285466@tigger.cc.uic.edu>
To: ramsdell@linus.mitre.org
CC: xml-editor@w3.org, ramsdell@linus.mitre.org, john@linus.mitre.org, bede@linus.mitre.org, pc@linus.mitre.org, cmsmcq@uic.edu
>John pointed out that I simply misread the XML standard on the subject
>of CDATA sections.  Please ignore the following comment:
>
>> [Section 2.7, Page 5]
>> 
>> The text on CDATA Sections should include an example of how to include
>> the character string "]]>" within a CDATA section.  If only "]]>" is
>> markup, one cannot write "]]&gt;".  Is that right?
>
>Maybe one should show how to include "]]>" with the double CDATA
>section trick:
>
>	<[CDATA[This is text]]>]]><[CDATA[following a CDATA end.]]>

Actually, since ']]>' is not allowed to occur *except* when 
closing a CDATA section or conditional section, the example needs
to be revised:

	<[CDATA[This is text]]>]]&gt;<[CDATA[following a CDATA end.]]>

-CMSMcQ
Received on Tuesday, 17 February 1998 11:53:35 GMT

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