Re: DTD thing.

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/

Received on Thursday, 14 March 1996 00:01:09 UTC