Re: Comments in markup?

Rainer Klute (
Tue, 30 Jul 1996 15:18:54 +0200

Message-Id: <>
To: (Arnoud "Galactus" Engelfriet)
Cc:, "Rainer Klute" <>
Subject: Re: Comments in markup? 
In-reply-to: Your message of Tue, 30 Jul 1996 12:36:57 +0200.
Date: Tue, 30 Jul 1996 15:18:54 +0200
From: Rainer Klute <>

>Ah, ok. But why does the WebTechs validator complain when I feed an
>HTML document containing an <!ENTITY> declaration (copied from the
>HTML 3.2 DTD, but with a different name to avoid duplicates) to it?
>Shouldn't it be possible to declare new entities in an HTML document?
>Or is there simply a restriction on *where* such declarations may be
>used? I find it very strange that you can put <!-- --> anywhere, but
>not <!ENTITY foo CDATA "&#62"> or something like that.

Exactly. That's the difference between the DTD and the document 
the DTD applies to. All you can do is to modify/extend the DTD 
within the DOCTYPE declaration.

Best regards
Rainer Klute

  Dipl.-Inform. Rainer Klute        NADS - Advertising on nets
  Emil-Figge-Str. 80                Tel.: +49 231 9751230
D-44227 Dortmund                    Fax:  +49 231 9751238