Re: Doctypes, Declarations, and HTML Versions

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 UTC