Implied document type name

SGML TC2 Annex K [1] says:

> K.4.5 Implied document type name
>   [111] document type name =
>    (generic identifier | (rni, "IMPLIED"))
> where:
> IMPLIED means the document element can have any valid
> element type name.

Therefore, the following document is valid.

  <!DOCTYPE #IMPLIED
       PUBLIC "-//W3C//DTD HTML 4.01//EN" >
  <html>
   <head>
    <title>sample document</title>
   </head>
   <body>
    <p>sample</p>
   </body>
  </html>

But the validator does not correspond to this.

# The validator works correct when an SGML document has
# omitted prolog (SGML Annex K.4.9 Omitted prolog (7.1) ).

[1] http://www.ornl.gov/sgml/sc34/document/0029.htm


-- 
Satoshi ISHIKAWA / pastelsbadges@nyc.odn.ne.jp
http://www.pcc.metro-u.ac.jp/~t0040238/

Received on Thursday, 7 February 2002 21:48:32 UTC