<style> and Wilbur

Charles Peyton Taylor (CTaylor@wposmtp.nps.navy.mil)
Fri, 17 May 1996 11:18:52 -0800


Message-Id: <s19c60b0.007@wposmtp.nps.navy.mil>
Date: Fri, 17 May 1996 11:18:52 -0800
From: Charles Peyton Taylor <CTaylor@wposmtp.nps.navy.mil>
To: www-html@w3.org
Subject:  <style> and Wilbur

When I use the TYPE attribute with the style element
as such:

  <STYLE TYPE="text/css">

I get the following error from the web techs validator:

Errors

sgmls: SGML error at -, line 4 at "T":
       Possible attributes treated as data because none were
defined

Now, the TYPE attribute is described in the technical 
report dealing with styles at:

http://www.w3.org/pub/WWW/TR/WD-css1

When I looked at the DTD for wilbur, I notice no
list of attributes for <style>.  It would be nice
if TYPE was in there. I suppose you could also remove 
it from the style draft for consistency, but I imagine 
it was there for a reason.

Something like this, maybe?

<!ATTLIST STYLE
  type        CDATA   #IMPLIED  -- type of stylesheet used  --
        >