META example out of sync with DTD & narrative

Keith Ball (kball@kballuw.SJF.Novell.COM)
Thu, 17 Nov 94 12:17:52 EST

I have the text/plain 10/17/94 dated version of the
spec and the DTD that is in that doc.

This is the invalid example in the narrative section
on META:
<META EXPIRES HTTP-EQUIV="Expires">Tue, 04 Dec 1993 21:29:02 GMT</expires>

change to:
<META HTTP-EQUIV="Expires" CONTENT="Tue, 04 Dec 1993 21:29:02 GMT">

It does not have a CONTENT attribute. It has the undefined
attribute EXPIRES. Has text after the META start tag.
And, has an unknown end-tag.

Was this a hold over to some definition of META that
allowed for the creation of new tags in the document,
instead of the prolog?

The example also defines the value of a HTTP header that
some servers handle. Later, in the narrative it recommends
*not* to use HTTP headers that server's understand. However,
the use of EXPIRE is certainly a valid choice. It is nice to
use for draft RFCs, for example, where the author is
setting the expiration, not the publisher or server admin.

I think the section recommending to not use known HTTP
headers needs to be reworded to recommend the use of META
for HTTP headers unknown to the server or specific to the
document state. It should not be used for headers that are
part of the server state.

It also would be nice if the narrative descritpion of
the CONTENT attribute specified that it was required.
------
Here is the relevant error output from sgmls:
sgmls: SGML error at d:\sgmls.htm, line 6 at " ":
"?" = "EXPIRES" name token ignored: not in any group in this list
sgmls: SGML error at d:\sgmls.htm, line 6 at """:
Required CONTENT attribute was not specified; may affect processing
sgmls: SGML error at d:\sgmls.htm, line 6 at ">":
No element declaration for EXPIRES end-tag GI; end-tag ignored

Here is the DTD element and attribute list declaration
for META:

<!ELEMENT META - O EMPTY -- Generic Metainformation -->
<!ATTLIST META
HTTP-EQUIV NAME #IMPLIED -- HTTP response header name --
NAME NAME #IMPLIED -- metainformation name --
CONTENT CDATA #REQUIRED -- associated information --
>

Keith
-----------------------------------------
Keith Ball Unix/SMTP mail: kball@novell.com
Building 1 MHS mail: KBALL@NOVELL
2180 Fortune Drive
San Jose Fortune (sjf.novell.com)
(408) 577 8428
Fax: (408) 577 5855

Novell, Inc.

-- sent via the LAN WorkPlace Mailer