W3C home > Mailing lists > Public > public-vocabs@w3.org > January 2012

Re: W3C error due to Schema.org tags

From: John Erickson <olyerickson@gmail.com>
Date: Mon, 16 Jan 2012 09:34:51 -0500
Message-ID: <CAC1Gg8SF9B4S28kNihupeiZKfyLkPSAPqfQgqPhG5FcyX714BQ@mail.gmail.com>
To: Sandeep <bluenet_emp26@benext.in>
Cc: public-vocabs@w3.org
On Sat, Jan 14, 2012 at 6:17 AM, Sandeep <bluenet_emp26@benext.in> wrote:
> I am using schema.org for my each website. Today I am facing a problem while I go to check W3C validation for my site. I usually add schema.org in div or other tags and also check them with W3C local validation. But now I am getting en errors due to schema.org tags, “itemscope”, “itemtype=http://schema.org/”, “itemprop”. The errors I am facing with each tag of schema are below. Please make sure what the wrong with this? Are the schema.org tags not more valuable or supported by html5. I am using HTML 5 for my web page…. I pasted the screen shot of errors that I am receiving


This seems to be a well-known problem; see for example the discussion
at <http://dltj.org/article/schema-org-invalid/>. Note the follow-up
comments, esp. what Peter Murray says w.r.t. HTML5 boolean attributes
<http://dev.w3.org/html5/spec/Overview.html#boolean-attributes>

In our own experiments we've made such validation errors go away with
incantations like...

<div itemscope="itemscope" itemtype="http://schema.org/Event">

(to use Peter's example)

Also note that an alternative HTML5 validator can be found at
<http://html5.validator.nu/>

John


--
John S. Erickson, Ph.D.
Director, Web Science Operations
Tetherless World Constellation (RPI)
<http://tw.rpi.edu> <olyerickson@gmail.com>
Twitter & Skype: olyerickson
Received on Monday, 16 January 2012 14:35:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:48:59 GMT