Re: Validator: #autoXML196424196424 - what? :-)

Philip TAYLOR (27 sept. 2007 - 17:12) :
> http://royal-tunbridge-wells.org/
>
> uses only inline styles, and rather than validating these
> using auto-generated autoXML... IDs, instead the validator
> says
> No style sheet found
> An error ?

No.
HTML has been designed orthogonally with regards to CSS, which means  
that style attributes can, in theory, have any kind of style  
language. We could implement a user agent which understand :  
"supahstyle" + html


     The syntax of the value of the style attribute is
     determined by the default style sheet language.
     -- Style Sheets in HTML documents
     http://www.w3.org/TR/html4/present/styles.html#adef-style
     Fri, 24 Dec 1999 23:25:49 GMT

Then

     14.2.1 Setting the default style sheet language
     Authors must specify the style sheet language of
     style information associated with an HTML
     document.
     Authors should use the META element to set the
     default style sheet language for a document. For
     example, to set the default to CSS, authors
     should put the following declaration in the HEAD
     of their documents:

     <META http-equiv="Content-Style-Type" content="text/css">

     -- Style Sheets in HTML documents
     http://www.w3.org/TR/html4/present/styles.html#default-style
     Fri, 24 Dec 1999 23:25:49 GMT



-- 
Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager, QA Activity Lead
   QA Weblog - http://www.w3.org/QA/
      *** Be Strict To Be Cool ***

Received on Thursday, 27 September 2007 09:38:49 UTC