W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

Implied document type name

From: Satoshi ISHIKAWA <pastelsbadges@nyc.odn.ne.jp>
Date: Fri, 08 Feb 2002 11:45:54 +0900
To: <www-validator@w3.org>
Message-ID: <B8896AF2.49F%pastelsbadges@nyc.odn.ne.jp>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:00 GMT