W3C home > Mailing lists > Public > www-xml-infoset-comments@w3.org > January to March 2001

Re: Reasons for retaining CDATA section boundaries

From: <muraw3c@attglobal.net>
Date: Thu, 01 Feb 2001 08:21:33 +0900 (JST)
To: www-xml-infoset-comments@w3.org
Message-Id: <20010201082133I.muraw3c@attglobal.net>

> - Text escaped with CDATA sections may be more readable by humans.
>   This is especially true for "quoted XML".
> - It may also improve interoperability with non-XML tools.  For
>   example, it is entirely reasonable to run "grep" on an XML file, or
>   on a directory containing both XML and non-XML files, and a search
>   for "AT&T" will not match AT&amp;T.
> - There may even be applications that extract text (such as scripts)
>   from XML documents without parsing, on the assumption that the
>   relevant text is contained in a CDATA section.

IMHO, none of these examples requires *preservation* of CDATA sections
or CDATA sections in the infoset.  Rather, they merely show that
programs for writing XML documents in files should be able to use
CDATA sections, at user option.


IBM Tokyo Research Lab &
International University of Japan, Research Institute

Received on Wednesday, 31 January 2001 18:21:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:00 UTC