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

[Bug 10199] Some vcard examples lack itemscope on itemprop="n" elements

From: <bugzilla@jessica.w3.org>
Date: Mon, 19 Jul 2010 03:54:00 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OahQW-0005j5-LF@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10199





--- Comment #1 from Oli Studholme <w3.org@boblet.net>  2010-07-19 03:54:00 ---
As the “n” property is a nested item it should be specified with itemscope:

<span
 itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
 itemprop="email" href="mailto:c.obrian@la.ctu.gov.invalid"><span
 itemprop="fn"><span itemprop="n" itemscope><span
 itemprop="given-name">Chloe</span> <span
 itemprop="family-name">O'Brian</span></span></span></a></span>
(note this also had a spurious extra itemscope on itemprop="n", and the typo
itemprop="family=name")

<address itemscope itemtype="http://microformats.org/profile/hcard">
 <strong itemprop="fn"><span itemprop="n" itemscope><span
itemprop="given-name">Alfred</span>
 <span itemprop="family-name">Person</span></span></strong> <br>
 <span itemprop="adr" itemscope>
  <span itemprop="street-address">1600 Amphitheatre Parkway</span> <br>
  <span itemprop="street-address">Building 43, Second Floor</span> <br>
  <span itemprop="locality">Mountain View</span>,
   <span itemprop="region">CA</span> <span itemprop="postal-code">94043</span>
 </span>
</address>

<span itemscope itemtype="http://microformats.org/profile/hcard">
<span itemprop="fn"><span itemprop="n" itemscope><span
itemprop="given-name">George</span>
<span itemprop="family-name">Washington</span></span></span></span>

Initially filed as this bug (in which I didn’t realise that n was a nested
item and/or didn’t understand nested items):
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10159

-- 
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 Monday, 19 July 2010 03:54:02 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:52 UTC