[Bug 9384] Please add a rule that the property value for a PARAM element should be its VALUE attribute

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9384


Mark Pilgrim <mark@diveintomark.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark@diveintomark.org




--- Comment #1 from Mark Pilgrim <mark@diveintomark.org>  2010-04-01 18:24:57 ---
Use case: adding microdata properties to an OBJECT element where the property
value is given in one of the child PARAM elements.

<section>
<h1>Mark Pilgrim</h1>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
       
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
        WIDTH="550" HEIGHT="400">
  <PARAM NAME=movie VALUE="photoViewer.swf">
  <PARAM NAME=file VALUE="http://www.example.com/photo.jpg">
</OBJECT>
</section>

could become

<section itemscope itemtype="http://data-vocabulary.org/Person">
<h1 itemprop="name">Mark Pilgrim</h1>
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
       
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
        WIDTH="550" HEIGHT="400">
  <PARAM NAME=movie VALUE="photoViewer.swf">
  <PARAM itemprop="photo" NAME=file VALUE="http://www.example.com/photo.jpg">
</OBJECT>
</section>

And then you would get two properties in the http://data-vocabulary.org/Person
vocabulary:

name=Mark Pilgrim
photo=http://www.example.com/photo.jpg


-- 
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 Thursday, 1 April 2010 18:25:01 UTC