Re: DTD thing.

Gerald Oskoboiny (gerald@cs.ualberta.ca)
Wed, 13 Mar 1996 22:00:14 -0700 (MST)


Subject: Re: DTD thing.
From: Gerald Oskoboiny <gerald@cs.ualberta.ca>
To: www-html@w3.org
Date: 	Wed, 13 Mar 1996 22:00:14 -0700 (MST)
In-Reply-To: <s146e908.012@wposmtp.nps.navy.mil> from "Charles Peyton Taylor" at Mar 13, 96 03:25:50 pm
Message-Id: <96Mar13.220101-0700_mst.138900-1+232@amisk.cs.ualberta.ca>

Charles Peyton Taylor writes:

> Now that the HTML 3 draft is two weeks shy of becoming 
> a year old, is there a new HTML 3 DTD?  Or should people 
> just use the Microsoft IE DTD?

Good question. And one that I intend to bring up with the
HTML WG if I ever get a chance...

> Speaking of the Microsoft IE DTD, could someone put up 
> a version on the internet somewhere?  (I didn't get a 
> chance to read it myself, since I don't have a MIME
> mail reader :(  and I'm sure others in the internet 
> community would like a chance to look at it.)

Okay: <URL:http://ugweb.cs.ualberta.ca/~gerald/validate/lib/>.
(Files "iehtml.dtd", "iehtml-s.dtd", and "ietables.dtd".)

> Personally, I just want to see if it allows one to 
> do this (code taken from the CSS draft):
> 
>  <LINK REL=STYLESHEET TYPE="text/css" 
>       HREF="http://style.com/cool" TITLE="Cool">
>     <STYLE TYPE="text/css">
>       @import "http://style.com/basic"
>       H1 { color: blue }
>     </STYLE>
>   </HEAD>

No suck luck:

Error at line 6:
    <LINK REL=STYLESHEET TYPE="text/css" 
                              ^ there is no attribute `TYPE' (explanation...)
---------------------------------------------------------------------------

Error at line 8:
       <STYLE TYPE="text/css">
                   ^ there is no attribute `TYPE' (explanation...)
---------------------------------------------------------------------------

Error at line 8:
       <STYLE TYPE="text/css">
   element `STYLE' undefined ^ (explanation...)
---------------------------------------------------------------------------

Error at line 13:
   </head>
         ^ end tag for element `HEAD' which is not open (explanation...)
---------------------------------------------------------------------------

This DTD is for MSIE 2.0, apparently... I assume the next DTD they release
(for MSIE 3.0) will have stuff for style sheets in it.

Gerald
-- 
Gerald Oskoboiny  <gerald@cs.ualberta.ca>  http://ugweb.cs.ualberta.ca/~gerald/