<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10159</bug_id>
          
          <creation_ts>2010-07-14 07:01:24 +0000</creation_ts>
          <short_desc>For vCard, itemprop=&quot;fn&quot; and itemprop=&quot;n&quot; can be combined</short_desc>
          <delta_ts>2010-10-05 13:03:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML Microdata (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#examples-1</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mail</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3.org</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36825</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-07-14 07:01:24 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#examples-1

Comment:
For vCard, itemprop=&quot;fn&quot; and itemprop=&quot;n&quot; can be combined

Posted from: 222.147.252.201 by w3.org@boblet.net</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36826</commentid>
    <comment_count>1</comment_count>
    <who name="Oli Studholme">w3.org</who>
    <bug_when>2010-07-14 07:18:03 +0000</bug_when>
    <thetext>It’s typical when using microformats to apply fn and n (plus fn and org) together, and this would make the examples less verbose. Here are the relevant example snippets after this change:

(I’ll cover Jack Bauer’s name in a separate bug)

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

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

&lt;span itemscope itemtype=&quot;http://microformats.org/profile/hcard&quot;&gt;
&lt;span itemprop=&quot;fn n&quot;&gt;&lt;span itemprop=&quot;given-name&quot;&gt;George&lt;/span&gt;
&lt;span itemprop=&quot;family-name&quot;&gt;Washington&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36988</commentid>
    <comment_count>2</comment_count>
    <who name="Toby Inkster">mail</who>
    <bug_when>2010-07-18 20:05:45 +0000</bug_when>
    <thetext>itemprop=&quot;n&quot; needs to be on an element with an itemscope attribute, as it&apos;s something that has subproperties; itemprop=&quot;fn&quot; needs to be on an element without itemscope as it needs to be parsed as a string... so they can&apos;t be on the same element.

HTML+RDFa 1.1 would in fact allow them on the same element:

  &lt;div profile=&quot;http://example.com/vcard&quot; typeof=&quot;vcard&quot;&gt;
    &lt;span rel=&quot;n&quot; property=&quot;fn&quot;&gt;&lt;span property=&quot;given-name&quot;&gt;Jack&lt;/span&gt; &lt;span property=&quot;family-name&quot;&gt;Bauer&lt;/span&gt;&lt;/span&gt;
    &lt;div rel=&quot;agent&quot;&gt;
      &lt;span rel=&quot;n&quot; property=&quot;fn&quot;&gt;&lt;span property=&quot;given-name&quot;&gt;Chloe&lt;/span&gt; &lt;span property=&quot;family-name&quot;&gt;O&apos;Brian&lt;/span&gt;&lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36991</commentid>
    <comment_count>3</comment_count>
    <who name="Oli Studholme">w3.org</who>
    <bug_when>2010-07-19 03:59:20 +0000</bug_when>
    <thetext>@Toby — aah thanks, my misunderstanding. This bug can be closed, and I’ve opened a new one for the missing itemscope attributes in the eaxmples:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10199</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38608</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-09-08 06:42:07 +0000</bug_when>
    <thetext>closed per comment</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>