W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > July 2011

[Bug 13370] What authoring errors do the microdata value conformance constraints help catch?

From: <bugzilla@jessica.w3.org>
Date: Tue, 26 Jul 2011 15:05:27 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1QljCJ-0005Mx-GO@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13370

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-07-26 15:05:26 UTC ---
"""If a property's value is an absolute URL, the property must be specified
using a URL property element.

If a property's value represents a date, time, or global date and time, the
property must be specified using the datetime attribute of a time element."""

I'm writing some patches for validator.nu to do microdata validation, but
adding these constraints seems like a bad idea as they could raise errors for
rather sane usage:

1. Someone marks up comments or dialog using microdata. One reply is given in
the form of a URL, marked up as <div
itemprop="comment">http://lmgtfy.com/?q=html</div> by the template.

2. A book about the moon landing is called "1969-06-20" and is marked up using
http://schema.org/Book: <span itemprop="name">1969-06-20</span>.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Tuesday, 26 July 2011 15:05:33 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:14 UTC