Re: XMP

Russell Steven Shawn O'Connor (roconnor@wronski.math.uwaterloo.ca)
Tue, 12 Aug 1997 15:23:24 -0400 (EDT)


Date: Tue, 12 Aug 1997 15:23:24 -0400 (EDT)
From: "Russell Steven Shawn O'Connor" <roconnor@wronski.math.uwaterloo.ca>
To: "Neil St.Laurent" <neil@bigpic.com>
cc: www-html@w3.org
In-Reply-To: <199708121851.MAA01059@underworld.bigpic.com>
Message-ID: <Pine.SOL.3.95q.970812151818.15640D-100000@wronski.math.uwaterloo.ca>
Subject: Re: XMP

On Tue, 12 Aug 1997, Neil St.Laurent wrote:

> > 	<PRE>
> > 	<![CDATA[
> 
> Why can't just a regular tag have content that is of type CDATA?  I 
> don't see anything in SGML that eliminates that option...

In data marked with <![CDATA[ ...  the sequence of `]]>' is not allowed
and must be escaped.  With a CDATA tag such as <XMP> the sequence of `</'
is not allowed and must be escaped.

Certainly the sequence of `]]>' is less likely to come up.

That's all the diffrerence that I really know, other than the fact the
that when you use CDATA marked sections it is really obvious that you are
in a CDATA block.

The SGML gurus around this mailing list probably can give you even more
reasons.

-- 
Russell O'Connor                           roconnor@uwaterloo.ca
    <URL:http://www.undergrad.math.uwaterloo.ca/%7Eroconnor/>
"And truth irreversibly destroys the meaning of its own message"
-- Anindita Dutta, "The Paradox of Truth, the Truth of Entropy"