Re: <plaintext> tag obsolete? I think not! (fwd)
Fri, 9 Jan 1998 17:49:43 +0100 (MET)

Message-Id: <>
Date: Fri, 9 Jan 1998 17:49:43 +0100 (MET)
Subject: Re: <plaintext> tag obsolete?  I think not! (fwd)

(Chris, to avoid spamming on this list, we closed it to non-subscribers.
Thanks for your understanding. JK).

Old-Date: Fri, 9 Jan 1998 11:20:20 -0500
Message-Id: <>
From: Chris Maden <>
In-reply-to: <> (message
	from Jamie Gerdes on Fri, 09 Jan 1998 09:25:42 -0600)

[Jamie Gerdes]
> Can anyone please explain to me WHY the <plaintext> tag has been
> forgotten?!?!

Because its intended behavior can not be made legal.  Plaintext (and
xmp and listing) intend to allow *any* markup except their own end-tag
as data.

In SGML, an element declared as CDATA ends at the first '</'
delimiter.  If the name in that end tag doesn't match the CDATA
element's type, it's an error.  That may not seem like a very good
idea, but it's in the Standard and we have to live with it for now.

See question 2.8 in _The SGML FAQ Book_ which addresses exactly this.
(Steven J. DeRose, Kluwer Academic Publishers, 0-7923-9943-9.)

<!ENTITY crism PUBLIC "-//O'Reilly//NONSGML Christopher R. Maden//EN"
"<URL> <TEL>+1.617.499.7487
<USMAIL>90 Sherman Street, Cambridge, MA 02140 USA" NDATA SGML.Geek>