W3C home > Mailing lists > Public > www-validator@w3.org > July 2005

Re: Microformats?

From: Karl Dubost <karl@w3.org>
Date: Mon, 11 Jul 2005 15:00:33 -0400
Message-Id: <65C61DBB-B853-4952-B5F9-4805A9ACCDE6@w3.org>
Cc: www-validator@w3.org
To: Mark Nottingham <mnot@mnot.net>

Le 05-07-10 à 21:49, Mark Nottingham a écrit :
> I had a conversation with Tantek Celik the other day, and he  
> corrected my misconceptions WRT microformats (at least as he  
> preaches them ;). AFAICT, they only use class and id attributes,  
> along with HTML profiles, to add semantics to documents, and thus  
> don't break validity.

yes it's what I thought.

> What the validator *could* do, however, is support validation of  
> HTML profiles; e.g., by validating profiles described in XMDP;
>   http://gmpg.org/xmdp/

That would mean going down the road of Conformance checker for the  
validator and it's not an easy task at all. Right now the validator  
checks only the validity of the documents and not the conformance. My  
usual favorite example about that is style information.

       <TITLE>A simple HTML document</TITLE>
<p style="font-size: 12pt; color: fuchsia">Aren't style sheets  

This document is
     _ valid
     - not conformant to HTML 4.01

Because we don't know what style sheets language is used for the  

Cf: http://www.w3.org/TR/html401/present/styles.html#h-14.2.1
"14.2.1 Setting the default style sheet language"

MUST: « Authors must specify the style sheet language of style  
information associated with an HTML document. »
+ « Documents that include elements that set the style attribute but  
which don't define a default style sheet language are incorrect. »

How to make it conformant?

     <META http-equiv="Content-Style-Type" content="text/css">
* HTTP Headers
     Content-Style-Type: text/css

Maybe a better place to check this kind of things would be the  
LogValidator developed by Olivier Théreaux.


Two articles explaining how to use the Log Validator

A Manual

How to create New Modules

This last part means you can plug as many modules as you want to the  
LogValidator specifically designed for certain tasks.

Many modules could be developed for the benefit of the community.

     - SpellChecker
     - microformats
     - metadata (meta name, link checker)
     - etc.

Karl Dubost - http://www.w3.org/People/karl/
W3C Conformance Manager
*** Be Strict To Be Cool ***
Received on Monday, 11 July 2005 19:00:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:52 UTC