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

[Bug 14596] Microdata: validity contraints to catch missing attributes

From: <bugzilla@jessica.w3.org>
Date: Sat, 29 Oct 2011 21:16:23 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1RKGGN-0004w5-Kt@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14596

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-10-29 21:16:23 UTC ---
To help catch authoring errors like the one in bug 14595, we could improve the
validity constraints related to itemprop a bit. Specifically, if itemprop
appears of any of the following attributes, require that the attribute is
present:

meta: content
audio, embed, iframe, img, source, track, or video: src
a, area, or link: href
object: data
data: value

(Matching how itemValue works.)

If one deliberately wants an empty value, one can simply use e.g. <data
itemprop="prop" value=""> instead of <data itemprop="prop">.

-- 
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 Saturday, 29 October 2011 21:16:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:06 UTC