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

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