W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > April 2010

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

From: <bugzilla@wiggum.w3.org>
Date: Thu, 01 Apr 2010 18:24:58 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1NxP4c-0002ej-7Y@wiggum.w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 April 2010 18:25:01 GMT