HTML Doctype Declaration

dale@ora.com (Dale Dougherty)
From: dale@ora.com (Dale Dougherty)
Message-id: <9306041200.ZM1154@cider.west.ora.com>
Date: Fri, 4 Jun 1993 12:00:35 -0700
X-Mailer: Z-Mail (2.1.0 10/1/92)
To: www-talk@nxoc01.cern.ch
Subject: HTML Doctype Declaration
In order to validate a SGML file, it must have
a DOCTYPE declaration, pointing to the SGML DTD.
Here's an example:

<!DOCTYPE HTML SYSTEM "/work/dmg/dtds/html/orahtml.dtd" >

Now, I know that the WWW parser does not need this
information because it does not actually read
a DTD.  However, if one is validating HTML files with an SGML parser,
which is the right thing to do at some point, the SGML parser needs
this line.  It would be nice to depend upon the HTML parser
to at least know to ignore it. 

In Xmosaic, for instance, this line is displayed on the screen.  
I'm not sure how the other browsers handle it.  

Dale

-- 

Dale Dougherty 
Digital Media Group, O'Reilly & Associates, Inc.
103A Morris Street, Sebastopol, California 95472 
(707) 829-3762 (home office); 1-800-998-9938

UUCP:	uunet!ora!dale     Internet :   dale@ora.com