W3C home > Mailing lists > Public > www-html@w3.org > October 1999

Re: Doctypes, Declarations, and HTML Versions

From: Russell Steven Shawn O'Connor <roconnor@uwaterloo.ca>
Date: Tue, 12 Oct 1999 11:08:19 -0400 (EDT)
To: W3C HTML <www-html@w3.org>
Message-ID: <Pine.SOL.3.95q.991012110321.23801C-100000@wronski.math.uwaterloo.ca>
On Tue, 12 Oct 1999, Markku Savela wrote:

> The point is not in the difficulty.
> 
> - You cannot parse general SGML based document, unless you have its
>   DTD.

Firstly, under some SGML declarations, you can parse a document without a
declaration.

Secondly, why is knowing about the declaration so problematic?  You have
to parse a document, why not parse its declaration while you are at it?

You can't parse a C program without first parsing it's included headers.
(Maybe this isn't the best analogy)

So, really, what is the problem with SGML?
 
-- 
Russell O'Connor                           roconnor@uwaterloo.ca
       <http://www.undergrad.math.uwaterloo.ca/~roconnor/>
``And truth irreversibly destroys the meaning of its own message''
-- Anindita Dutta, ``The Paradox of Truth, the Truth of Entropy''
Received on Tuesday, 12 October 1999 11:08:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:40 GMT