W3C home > Mailing lists > Public > w3c-sgml-wg@w3.org > October 1996

Re: A7: CDATA, RCDATA, TEMP marked sections?

From: Charles F. Goldfarb <Charles@SGMLsource.com>
Date: Wed, 09 Oct 1996 01:44:35 GMT
To: "Peter Sharpe" <peter@sqwest.bc.ca>
Cc: Paul Prescod <papresco@calum.csclub.uwaterloo.ca>, w3c-sgml-wg@w3.org
Message-ID: <3263feef.22271083@mail.alink.net>
On Tue, 8 Oct 1996 17:42:45 -0700, "Peter Sharpe" <peter@sqwest.bc.ca> wrote:

>There are several requirements for the mechanism by which the markup is
>1. It has to be simple and intuitive.
>2. It has to be easily parseable by a simple lexer on the server side.

>In the case where there is no DTD, there either would be no possibility of
>CDATA elements or else there would be some alternate way to indicate the
>content type.
>And, finally, I would propose that some term other than CDATA be used to
>describe these elements.

Here's how I would tell users to address these requirements using DTD-less XML:

Chapter 5. The CLEARDATA Tag.

When you need to put scripts or other data in your document that isn't SGML, you
mark it with special tags called CLEARDATA tags (CDATA for short). These tags
look different from normal tags because they are warning the browser that the
data is clear -- that is, it doesn't have any SGML markup in it. The browser
needs to be warned because if it sees, within CDATA, something that looks like
markup, it has to know it isn't really markup, it's just data. 

The CLEARDATA start-tag is: <![CDATA[
The CLEARDATA end-tag is: ]]>
Charles F. Goldfarb * Information Management Consulting * +1(408)867-5553
           13075 Paramount Drive * Saratoga CA 95070 * USA
  International Standards Editor * ISO 8879 SGML * ISO/IEC 10744 HyTime
 Prentice-Hall Series Editor * CFG Series on Open Information Management
Received on Tuesday, 8 October 1996 21:44:50 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:25:04 UTC