W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2013

Re: adding microdata to xhtml doctype

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Tue, 26 Feb 2013 08:17:20 +0200
Message-ID: <512C5370.8050406@cs.tut.fi>
To: Lee Johnson <leejohnson@rustdepot.com>
CC: www-validator-css@w3.org
2013-02-21 16:32, Lee Johnson wrote:

> I have searched both on Google and in W3C in an effort to implement/add
> microdata to my websites

The pages you mention contain no microdata, and they validate.

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

XHTML 1.0 does not contain microdata markup.

> I am not well versed in the details of various doctypes and have tried
> numerous methods, but to no avail. When I try to validate, I receive a
> 'Fatal Error'

As far as I know, there is no doctype published by the W3C that allows 
microdata. You have to write one, or use someone else's. It's just a 
matter of adding a little to an existing Document Type Definition. See e.g.
http://stackoverflow.com/questions/3659778/can-i-add-microdata-from-html5-to-a-xhtml-strict-site-and-still-be-compliant

>  From what I understand, I believe the addition of microdata may be
> essential in the near future

I have not seen any signs of actual use of microdata in major search 
engines except for some large corporate and community sites.

Yucca
Received on Tuesday, 26 February 2013 06:17:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 26 February 2013 06:17:58 GMT