<PLAINTEXT> clarification [Was: DTD Level 2 nit ]

Daniel W. Connolly (connolly@hal.com)
Wed, 05 Oct 1994 15:16:00 -0500

In message <QQxkiq08646.199410052001@relay3.UU.NET>, CN=Bruce Kahn/O=Iris@IRIS
> In particular, in
>http://www.hal.com/products/sw/olias/Build-html/7L9WSWBuWpF84aK.html the text
>states (pardon the formatting):

><BR>0001 This is line one of a ling listing
><BR>0002 file from <any@host.inc.com> which is sent

Well... the formatting is part of the confusion here. The <BR>'s in
the example are markup in the source of the example. The code that
comprises the example is just:

0001 This is line one of a ling listing
0002 file from <any@host.inc.com> which is sent

>http://www.hal.com/%7Econnolly/html-spec/L2index.html the Level 2 DTD
>description states:
>Required Parts
> <PLAINTEXT>characters...
>All Parts
> <PLAINTEXT>characters...
>Allowed In Content Of...
> <HTML>
>This implys that the PLAINTEXT marker can be used w/in the HTML scope and
>that it has an optional end marker. This seems to be inconsistant with the
>first description. While this is not from the "prefered" DTD, it is
>confusing (at least to me).

This is why <PLAINTEXT> is obsolete. The specified syntax is not
expressible in SGML. It shouldn't really be in the DTD reference.
If you look at the "recommended" or "prescriptive" DTD reference,
you won't see any mention of PLAINTEXT.

>What I would like to know is, just how should the <PLAINTEXT> marker be
>grok'd? Should it be treated as a marker that means "Do no more HTML parsing
>from now on" no matter what

This is how it was originally specified an implemented by TimBL.

> or should it be treated much like the <XMP>
>marker except that it may or may not have an end marker?

This is how Mosiac implements it.

>? I would appreciate
>it if you could clear this up for me.

Well, you seem to understand it just about as well as anybody does.
How do _you_ think it should work?

I'd prefer that it be banned from the planet. Unfortunately, that
conflicts with the HTML Working Group charter a little bit ;-)