[html5] r4981 - [cgiowt] (0) Remove the magic from the vCard vocabulary, since the magic doesn't [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Apr 6 17:29:46 PDT 2010
Author: ianh
Date: 2010-04-06 17:29:45 -0700 (Tue, 06 Apr 2010)
New Revision: 4981
Modified:
complete.html
index
source
Log:
[cgiowt] (0) Remove the magic from the vCard vocabulary, since the magic doesn't really work.
Modified: complete.html
===================================================================
--- complete.html 2010-04-07 00:00:17 UTC (rev 4980)
+++ complete.html 2010-04-07 00:29:45 UTC (rev 4981)
@@ -181,7 +181,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>Web Applications 1.0</h1>
- <h2 class="no-num no-toc">Draft Standard — 6 April 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 7 April 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -49713,62 +49713,10 @@
<code title=md-vcard-n-honorific-suffix><a href=#md-vcard-n-honorific-suffix>honorific-suffix</a></code>
properties.</p>
- <p>Except when one of the conditions given below applies, exactly
- one property with the name <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> must
- be present within each <a href=#concept-item title=concept-item>item</a> with
- the type <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>.</p>
+ <p>Exactly one property with the name <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> must be present within each <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>.</p>
- <p>If one of the following conditions does apply, then the <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> may be omitted:</p>
+ </dd>
- <dl><dt>The <a href=#concept-item title=concept-item>item</a> with the type
- <code title="">vcard</code> has both an <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property and an <code title=md-vcard-org><a href=#md-vcard-org>org</a></code> property, and they both have
- <a href=#concept-property-value title=concept-property-value>values</a> that are
- strings and those strings are identical when compared in a
- <a href=#case-sensitive>case-sensitive</a> manner.</dt>
-
- <dd>
-
- <p>The contact information must be for an organization.</p>
-
- </dd>
-
- <dt>The <a href=#concept-item title=concept-item>item</a> with the type
- <code title="">vcard</code> has an <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property whose <a href=#concept-property-value title=concept-property-value>value</a> consists of a string
- with zero <a href=#space-character title="space character">space
- characters</a>.</dt>
-
- <dd>
-
- <p>The <a href=#concept-property-value title=concept-property-value>value</a> of the
- <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property must be a
- nickname.</p>
-
- </dd>
-
- <dt>The <a href=#concept-item title=concept-item>item</a> with the type
- <code title="">vcard</code> has an <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property whose <a href=#concept-property-value title=concept-property-value>value</a> consists of a string
- with exactly one sequence of <a href=#space-character title="space character">space
- characters</a>, which occurs neither at the immediate start
- nor the immediate end of the string.</dt>
-
- <dd>
-
- <p>The <a href=#concept-property-value title=concept-property-value>value</a> of the
- <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property must be a name in
- one of the following forms:</p>
-
- <ul class=brief><li>Last, First</li>
-
- <li>Last F.</li>
-
- <li>Last F</li>
-
- <li>First Last</li>
-
- </ul></dd>
-
- </dl></dd>
-
<dt><dfn id=md-vcard-n-family-name title=md-vcard-n-family-name><code>family-name</code></dfn> (inside <code title=md-vcard-n><a href=#md-vcard-n>n</a></code>)</dt>
<dd>
@@ -50844,9 +50792,6 @@
the vCard text string</a> of that <a href=#global-identifier>global identifier</a>
as the value to <var title="">output</var>.</li>
- <li><p>Let <var title="">first-n</var>, <var title="">first-org</var>, and <var title="">first-fn</var> be
- null.</li>
-
<li>
<p>For each element <var title="">element</var> that is <a href=#the-properties-of-an-item title="the properties of an item">a property of the item</a>
@@ -50868,9 +50813,7 @@
<dd>
- <ol><li><p>If <var title="">first-n</var> is null, let <var title="">first-n</var> be <var title="">element</var>.</li>
-
- <li><p>Let <var title="">value</var> be the empty
+ <ol><li><p>Let <var title="">value</var> be the empty
string.</li>
<li><p>Append to <var title="">value</var> the result of
@@ -50972,9 +50915,7 @@
<dd>
- <ol><li><p>If <var title="">first-org</var> is null, let <var title="">first-org</var> be <var title="">element</var>.</li>
-
- <li><p>Let <var title="">value</var> be the empty
+ <ol><li><p>Let <var title="">value</var> be the empty
string.</li>
<li><p>Append to <var title="">value</var> the result of
@@ -51040,16 +50981,8 @@
<dd>
- <ol><li>
+ <ol><li><p>Let <var title="">value</var> be the property's <a href=#concept-property-value title=concept-property-value>value</a>.</li>
- <p>If <var title="">name</var> is <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> and <var title="">first-fn</var> is null, let <var title="">first-fn</var> be <var title="">element</var>.</p>
-
- <p>Otherwise, if <var title="">name</var> is <code title=md-vcard-org><a href=#md-vcard-org>org</a></code> and <var title="">first-org</var> is null, let <var title="">first-org</var> be <var title="">element</var>.</p>
-
- </li>
-
- <li><p>Let <var title="">value</var> be the property's <a href=#concept-property-value title=concept-property-value>value</a>.</li>
-
<li><p>If <var title="">element</var> is one of the <a href=#url-property-elements>URL
property elements</a>, add a parameter with the name "<code title="">VALUE</code>" and the value "<code title="">URI</code>" to <var title="">parameters</var>.</li>
@@ -51097,89 +51030,6 @@
</ol></li>
- <li>
-
- <p>If <var title="">first-n</var> is null, then run the following
- substeps:</p>
-
- <ol><li><p>If <var title="">first-fn</var> is also null, then skip
- the remainder of these substeps.</li>
-
- <li><p>If <var title="">first-fn</var> has a <a href=#concept-property-value title=concept-property-value>value</a> that is an <a href=#concept-item title=concept-item>item</a>, then skip the remainder of
- these substeps.</li>
-
- <li><p>If <var title="">first-org</var> is not null, and the
- <a href=#concept-property-value title=concept-property-value>value</a> of <var title="">first-org</var> is not an <a href=#concept-item title=concept-item>item</a> and is equal to <var title="">first-fn</var>, then <a href=#add-a-vcard-line>add a vCard line</a> with
- the type "<code title="">N</code>" whose value is four U+003B
- SEMICOLON characters ("<code title="">;;;;</code>") to <var title="">output</var>. Then, skip the remainder of these
- substeps.</li>
-
- <li><p>If the <a href=#space-character title="space character">space
- characters</a> in <var title="">first-fn</var>, if any, are
- not all contiguous, then skip the remainder of these
- substeps.</li>
-
- <li><p><a href=#split-a-string-on-spaces title="split a string on spaces">Split <var title="">first-fn</var> on spaces</a>, and let <var title="">part one</var> be the first resulting token, and <var title="">part two</var> be the second, if any, or the empty
- string if there is no second token. (There cannot be three, given
- the previous step.)</li>
-
- <li>
-
- <p>If the last character of <var title="">part one</var> is a
- U+002C COMMA character (,), then remove that character from <var title="">part one</var> and <a href=#add-a-vcard-line>add a vCard line</a> with
- the type "<code title="">N</code>" whose value is the
- concatenation of the following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol><p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p>If <var title="">part two</var> is two Unicode code-points
- long and its second character is a U+002E FULL STOP character
- (.), then <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> consisting of the first character of <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol><p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p>If <var title="">part two</var> is one Unicode code-point
- long, then <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol><p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part two</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol></li>
-
- </ol></li>
-
<li><p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">END</code>" and the value "<code title="">VCARD</code>"
to <var title="">output</var>.</li>
@@ -51329,6 +51179,10 @@
<pre><section id="jack" itemscope itemtype="http://microformats.org/profile/hcard">
<h1 itemprop="fn">Jack Bauer</h1>
+ <div itemprop="n">
+ <meta itemprop="given-name" content="Jack">
+ <meta itemprop="family-name" content="Bauer">
+ </div>
<img itemprop="photo" alt="" src="jack-bauer.jpg">
<p itemprop="org" itemscope>
<span itemprop="organization-name">Counter-Terrorist Unit</span>
@@ -51362,8 +51216,11 @@
<p itemprop="note">If I'm out in the field, you may be better off contacting <span
itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
itemprop="email" href="mailto:c.obrian at la.ctu.gov.invalid"><span
- itemprop="fn">Chloe O'Brian</span></a></span> if it's about work, or ask <span
- itemprop="agent">Tony Almeida</span> if you're interested in the CTU five-a-side football team we're trying to get going.</p>
+ itemprop="fn"><span itemprop="n" itemscope><span
+ itemprop="given-name">Chloe</span> <span
+ itemprop="family=name">O'Brian</span></span></span></a></span>
+ if it's about work, or ask <span itemprop="agent">Tony Almeida</span>
+ if you're interested in the CTU five-a-side football team we're trying to get going.</p>
<ins datetime="2008-07-20T21:00:00+01:00">
<span itemprop="rev" itemscope>
<meta itemprop="type" content="date-time">
@@ -51388,7 +51245,8 @@
components:</p>
<pre><address itemscope itemtype="http://microformats.org/profile/hcard">
- <strong itemprop="fn">Alfred Person</strong> <br>
+ <strong itemprop="fn"><span itemprop="n"><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>
@@ -51405,10 +51263,15 @@
names:</p>
<pre><span itemscope itemtype="http://microformats.org/profile/hcard"
-><span itemprop=fn>George Washington</span></span></pre>
+><span itemprop=fn><span itemprop="n"><span itemprop="given-name"
+>George</span> <span itemprop="family-name">Washington</span></span
+></span></span></pre>
- <p>This creates a single item with a single name-value pair, with
- the name "fn" and the value "George Washington". This is defined to
+ <p>This creates a single item with a two name-value pairs, one with
+ the name "fn" and the value "George Washington", and the other with
+ the name "n" and a second item as its value, the second item having
+ the two name-value pairs "given-name" and "family-name" with the
+ values "George" and "Washington" respectively. This is defined to
map to the following vCard:</p>
<pre>BEGIN:VCARD
@@ -52799,9 +52662,11 @@
<pre><p>
Both
- <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn">Princeton</span></span>
+ <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn"
+ ><span itemprop="n" itemscope><span itemprop="given-name">Princeton</span></span></span></span>
and
- <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn">Trekkie</span></span>
+ <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn"
+ ><span itemprop="n" itemscope><span itemprop="given-name">Trekkie</span></span></span></span>
live at
<span id="home" itemprop="adr" itemscope><span itemprop="street-address">Avenue Q</span>.</span>
</p></pre>
@@ -52812,18 +52677,22 @@
<pre class=turtle>@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dct: <http://purl.org/dc/terms/> .
- at prefix hcard: <http://www.w3.org/1999/xhtml/microdata#http%3A%2F%2Fmicroformats.org%2Fprofile%2Fhcard%23%3A> .
+ at prefix hcard: <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:> .
<> <http://www.w3.org/1999/xhtml/microdata#item> _:n0 ;
<http://www.w3.org/1999/xhtml/microdata#item> _:n1 .
-_:n0 rdf:type <http://microformats.org/profile/hcard> ;
- hcard:fn "Princeton" ;
- hcard:adr _:n2 .
-_:n1 rdf:type <http://microformats.org/profile/hcard> ;
- hcard:fn "Trekkie" ;
- hcard:adr _:n2 .
-_:n2 hcard:adr%20street-address "Avenue Q" ;
- hcard:adr%20street-address "Avenue Q" .</pre>
+_:n0 rdf:type <http://microformats.org/profile/hcard> ;
+ hcard:fn "Princeton" ;
+ hcard:n _:n0a
+ hcard:adr _:n2 .
+_:n0a hcard:n%20given-name "Princeton" .
+_:n1 rdf:type <http://microformats.org/profile/hcard> ;
+ hcard:fn "Trekkie" ;
+ hcard:n _:n1a
+ hcard:adr _:n2 .
+_:n1a hcard:n%20given-name "Trekkie" .
+_:n2 hcard:adr%20street-address "Avenue Q" ;
+ hcard:adr%20street-address "Avenue Q" .</pre>
</div>
Modified: index
===================================================================
--- index 2010-04-07 00:00:17 UTC (rev 4980)
+++ index 2010-04-07 00:29:45 UTC (rev 4981)
@@ -185,7 +185,7 @@
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/ rel=home><img alt=WHATWG src=/images/logo></a></p>
<hgroup><h1>HTML5 (including next generation additions still in development)</h1>
- <h2 class="no-num no-toc">Draft Standard — 6 April 2010</h2>
+ <h2 class="no-num no-toc">Draft Standard — 7 April 2010</h2>
</hgroup><p>You can take part in this work. <a href=http://www.whatwg.org/mailing-list>Join the working group's discussion list.</a></p>
<p><strong>Web designers!</strong> We have a <a href=http://blog.whatwg.org/faq/>FAQ</a>, a <a href=http://forums.whatwg.org/>forum</a>, and a <a href=http://www.whatwg.org/mailing-list#help>help mailing list</a> for you!</p>
<!--<p class="impl"><strong>Implementors!</strong> We have a <a href="http://www.whatwg.org/mailing-list#implementors">mailing list</a> for you too!</p>-->
@@ -49614,62 +49614,10 @@
<code title=md-vcard-n-honorific-suffix><a href=#md-vcard-n-honorific-suffix>honorific-suffix</a></code>
properties.</p>
- <p>Except when one of the conditions given below applies, exactly
- one property with the name <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> must
- be present within each <a href=#concept-item title=concept-item>item</a> with
- the type <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>.</p>
+ <p>Exactly one property with the name <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> must be present within each <a href=#concept-item title=concept-item>item</a> with the type <code title=md-vcard><a href=#md-vcard>http://microformats.org/profile/hcard</a></code>.</p>
- <p>If one of the following conditions does apply, then the <code title=md-vcard-n><a href=#md-vcard-n>n</a></code> may be omitted:</p>
+ </dd>
- <dl><dt>The <a href=#concept-item title=concept-item>item</a> with the type
- <code title="">vcard</code> has both an <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property and an <code title=md-vcard-org><a href=#md-vcard-org>org</a></code> property, and they both have
- <a href=#concept-property-value title=concept-property-value>values</a> that are
- strings and those strings are identical when compared in a
- <a href=#case-sensitive>case-sensitive</a> manner.</dt>
-
- <dd>
-
- <p>The contact information must be for an organization.</p>
-
- </dd>
-
- <dt>The <a href=#concept-item title=concept-item>item</a> with the type
- <code title="">vcard</code> has an <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property whose <a href=#concept-property-value title=concept-property-value>value</a> consists of a string
- with zero <a href=#space-character title="space character">space
- characters</a>.</dt>
-
- <dd>
-
- <p>The <a href=#concept-property-value title=concept-property-value>value</a> of the
- <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property must be a
- nickname.</p>
-
- </dd>
-
- <dt>The <a href=#concept-item title=concept-item>item</a> with the type
- <code title="">vcard</code> has an <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property whose <a href=#concept-property-value title=concept-property-value>value</a> consists of a string
- with exactly one sequence of <a href=#space-character title="space character">space
- characters</a>, which occurs neither at the immediate start
- nor the immediate end of the string.</dt>
-
- <dd>
-
- <p>The <a href=#concept-property-value title=concept-property-value>value</a> of the
- <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> property must be a name in
- one of the following forms:</p>
-
- <ul class=brief><li>Last, First</li>
-
- <li>Last F.</li>
-
- <li>Last F</li>
-
- <li>First Last</li>
-
- </ul></dd>
-
- </dl></dd>
-
<dt><dfn id=md-vcard-n-family-name title=md-vcard-n-family-name><code>family-name</code></dfn> (inside <code title=md-vcard-n><a href=#md-vcard-n>n</a></code>)</dt>
<dd>
@@ -50745,9 +50693,6 @@
the vCard text string</a> of that <a href=#global-identifier>global identifier</a>
as the value to <var title="">output</var>.</li>
- <li><p>Let <var title="">first-n</var>, <var title="">first-org</var>, and <var title="">first-fn</var> be
- null.</li>
-
<li>
<p>For each element <var title="">element</var> that is <a href=#the-properties-of-an-item title="the properties of an item">a property of the item</a>
@@ -50769,9 +50714,7 @@
<dd>
- <ol><li><p>If <var title="">first-n</var> is null, let <var title="">first-n</var> be <var title="">element</var>.</li>
-
- <li><p>Let <var title="">value</var> be the empty
+ <ol><li><p>Let <var title="">value</var> be the empty
string.</li>
<li><p>Append to <var title="">value</var> the result of
@@ -50873,9 +50816,7 @@
<dd>
- <ol><li><p>If <var title="">first-org</var> is null, let <var title="">first-org</var> be <var title="">element</var>.</li>
-
- <li><p>Let <var title="">value</var> be the empty
+ <ol><li><p>Let <var title="">value</var> be the empty
string.</li>
<li><p>Append to <var title="">value</var> the result of
@@ -50941,16 +50882,8 @@
<dd>
- <ol><li>
+ <ol><li><p>Let <var title="">value</var> be the property's <a href=#concept-property-value title=concept-property-value>value</a>.</li>
- <p>If <var title="">name</var> is <code title=md-vcard-fn><a href=#md-vcard-fn>fn</a></code> and <var title="">first-fn</var> is null, let <var title="">first-fn</var> be <var title="">element</var>.</p>
-
- <p>Otherwise, if <var title="">name</var> is <code title=md-vcard-org><a href=#md-vcard-org>org</a></code> and <var title="">first-org</var> is null, let <var title="">first-org</var> be <var title="">element</var>.</p>
-
- </li>
-
- <li><p>Let <var title="">value</var> be the property's <a href=#concept-property-value title=concept-property-value>value</a>.</li>
-
<li><p>If <var title="">element</var> is one of the <a href=#url-property-elements>URL
property elements</a>, add a parameter with the name "<code title="">VALUE</code>" and the value "<code title="">URI</code>" to <var title="">parameters</var>.</li>
@@ -50998,89 +50931,6 @@
</ol></li>
- <li>
-
- <p>If <var title="">first-n</var> is null, then run the following
- substeps:</p>
-
- <ol><li><p>If <var title="">first-fn</var> is also null, then skip
- the remainder of these substeps.</li>
-
- <li><p>If <var title="">first-fn</var> has a <a href=#concept-property-value title=concept-property-value>value</a> that is an <a href=#concept-item title=concept-item>item</a>, then skip the remainder of
- these substeps.</li>
-
- <li><p>If <var title="">first-org</var> is not null, and the
- <a href=#concept-property-value title=concept-property-value>value</a> of <var title="">first-org</var> is not an <a href=#concept-item title=concept-item>item</a> and is equal to <var title="">first-fn</var>, then <a href=#add-a-vcard-line>add a vCard line</a> with
- the type "<code title="">N</code>" whose value is four U+003B
- SEMICOLON characters ("<code title="">;;;;</code>") to <var title="">output</var>. Then, skip the remainder of these
- substeps.</li>
-
- <li><p>If the <a href=#space-character title="space character">space
- characters</a> in <var title="">first-fn</var>, if any, are
- not all contiguous, then skip the remainder of these
- substeps.</li>
-
- <li><p><a href=#split-a-string-on-spaces title="split a string on spaces">Split <var title="">first-fn</var> on spaces</a>, and let <var title="">part one</var> be the first resulting token, and <var title="">part two</var> be the second, if any, or the empty
- string if there is no second token. (There cannot be three, given
- the previous step.)</li>
-
- <li>
-
- <p>If the last character of <var title="">part one</var> is a
- U+002C COMMA character (,), then remove that character from <var title="">part one</var> and <a href=#add-a-vcard-line>add a vCard line</a> with
- the type "<code title="">N</code>" whose value is the
- concatenation of the following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol><p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p>If <var title="">part two</var> is two Unicode code-points
- long and its second character is a U+002E FULL STOP character
- (.), then <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> consisting of the first character of <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol><p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p>If <var title="">part two</var> is one Unicode code-point
- long, then <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol><p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class=brief><li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part two</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <a href=#escaping-the-vcard-text-string>escaping the vCard text string</a> <var title="">part one</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol></li>
-
- </ol></li>
-
<li><p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">END</code>" and the value "<code title="">VCARD</code>"
to <var title="">output</var>.</li>
@@ -51230,6 +51080,10 @@
<pre><section id="jack" itemscope itemtype="http://microformats.org/profile/hcard">
<h1 itemprop="fn">Jack Bauer</h1>
+ <div itemprop="n">
+ <meta itemprop="given-name" content="Jack">
+ <meta itemprop="family-name" content="Bauer">
+ </div>
<img itemprop="photo" alt="" src="jack-bauer.jpg">
<p itemprop="org" itemscope>
<span itemprop="organization-name">Counter-Terrorist Unit</span>
@@ -51263,8 +51117,11 @@
<p itemprop="note">If I'm out in the field, you may be better off contacting <span
itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
itemprop="email" href="mailto:c.obrian at la.ctu.gov.invalid"><span
- itemprop="fn">Chloe O'Brian</span></a></span> if it's about work, or ask <span
- itemprop="agent">Tony Almeida</span> if you're interested in the CTU five-a-side football team we're trying to get going.</p>
+ itemprop="fn"><span itemprop="n" itemscope><span
+ itemprop="given-name">Chloe</span> <span
+ itemprop="family=name">O'Brian</span></span></span></a></span>
+ if it's about work, or ask <span itemprop="agent">Tony Almeida</span>
+ if you're interested in the CTU five-a-side football team we're trying to get going.</p>
<ins datetime="2008-07-20T21:00:00+01:00">
<span itemprop="rev" itemscope>
<meta itemprop="type" content="date-time">
@@ -51289,7 +51146,8 @@
components:</p>
<pre><address itemscope itemtype="http://microformats.org/profile/hcard">
- <strong itemprop="fn">Alfred Person</strong> <br>
+ <strong itemprop="fn"><span itemprop="n"><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>
@@ -51306,10 +51164,15 @@
names:</p>
<pre><span itemscope itemtype="http://microformats.org/profile/hcard"
-><span itemprop=fn>George Washington</span></span></pre>
+><span itemprop=fn><span itemprop="n"><span itemprop="given-name"
+>George</span> <span itemprop="family-name">Washington</span></span
+></span></span></pre>
- <p>This creates a single item with a single name-value pair, with
- the name "fn" and the value "George Washington". This is defined to
+ <p>This creates a single item with a two name-value pairs, one with
+ the name "fn" and the value "George Washington", and the other with
+ the name "n" and a second item as its value, the second item having
+ the two name-value pairs "given-name" and "family-name" with the
+ values "George" and "Washington" respectively. This is defined to
map to the following vCard:</p>
<pre>BEGIN:VCARD
@@ -52700,9 +52563,11 @@
<pre><p>
Both
- <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn">Princeton</span></span>
+ <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn"
+ ><span itemprop="n" itemscope><span itemprop="given-name">Princeton</span></span></span></span>
and
- <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn">Trekkie</span></span>
+ <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn"
+ ><span itemprop="n" itemscope><span itemprop="given-name">Trekkie</span></span></span></span>
live at
<span id="home" itemprop="adr" itemscope><span itemprop="street-address">Avenue Q</span>.</span>
</p></pre>
@@ -52713,18 +52578,22 @@
<pre class=turtle>@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dct: <http://purl.org/dc/terms/> .
- at prefix hcard: <http://www.w3.org/1999/xhtml/microdata#http%3A%2F%2Fmicroformats.org%2Fprofile%2Fhcard%23%3A> .
+ at prefix hcard: <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:> .
<> <http://www.w3.org/1999/xhtml/microdata#item> _:n0 ;
<http://www.w3.org/1999/xhtml/microdata#item> _:n1 .
-_:n0 rdf:type <http://microformats.org/profile/hcard> ;
- hcard:fn "Princeton" ;
- hcard:adr _:n2 .
-_:n1 rdf:type <http://microformats.org/profile/hcard> ;
- hcard:fn "Trekkie" ;
- hcard:adr _:n2 .
-_:n2 hcard:adr%20street-address "Avenue Q" ;
- hcard:adr%20street-address "Avenue Q" .</pre>
+_:n0 rdf:type <http://microformats.org/profile/hcard> ;
+ hcard:fn "Princeton" ;
+ hcard:n _:n0a
+ hcard:adr _:n2 .
+_:n0a hcard:n%20given-name "Princeton" .
+_:n1 rdf:type <http://microformats.org/profile/hcard> ;
+ hcard:fn "Trekkie" ;
+ hcard:n _:n1a
+ hcard:adr _:n2 .
+_:n1a hcard:n%20given-name "Trekkie" .
+_:n2 hcard:adr%20street-address "Avenue Q" ;
+ hcard:adr%20street-address "Avenue Q" .</pre>
</div>
Modified: source
===================================================================
--- source 2010-04-07 00:00:17 UTC (rev 4980)
+++ source 2010-04-07 00:29:45 UTC (rev 4981)
@@ -55501,75 +55501,11 @@
<code title="md-vcard-n-honorific-suffix">honorific-suffix</code>
properties.</p>
- <p>Except when one of the conditions given below applies, exactly
- one property with the name <code title="md-vcard-n">n</code> must
- be present within each <span title="concept-item">item</span> with
- the type <code title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
+ <p>Exactly one property with the name <code
+ title="md-vcard-n">n</code> must be present within each <span
+ title="concept-item">item</span> with the type <code
+ title="md-vcard">http://microformats.org/profile/hcard</code>.</p>
- <p>If one of the following conditions does apply, then the <code
- title="md-vcard-n">n</code> may be omitted:</p>
-
- <dl>
-
- <dt>The <span title="concept-item">item</span> with the type
- <code title="">vcard</code> has both an <code
- title="md-vcard-fn">fn</code> property and an <code
- title="md-vcard-org">org</code> property, and they both have
- <span title="concept-property-value">values</span> that are
- strings and those strings are identical when compared in a
- <span>case-sensitive</span> manner.</dt>
-
- <dd>
-
- <p>The contact information must be for an organization.</p>
-
- </dd>
-
- <dt>The <span title="concept-item">item</span> with the type
- <code title="">vcard</code> has an <code
- title="md-vcard-fn">fn</code> property whose <span
- title="concept-property-value">value</span> consists of a string
- with zero <span title="space character">space
- characters</span>.</dt>
-
- <dd>
-
- <p>The <span title="concept-property-value">value</span> of the
- <code title="md-vcard-fn">fn</code> property must be a
- nickname.</p>
-
- </dd>
-
- <dt>The <span title="concept-item">item</span> with the type
- <code title="">vcard</code> has an <code
- title="md-vcard-fn">fn</code> property whose <span
- title="concept-property-value">value</span> consists of a string
- with exactly one sequence of <span title="space character">space
- characters</span>, which occurs neither at the immediate start
- nor the immediate end of the string.</dt>
-
- <dd>
-
- <p>The <span title="concept-property-value">value</span> of the
- <code title="md-vcard-fn">fn</code> property must be a name in
- one of the following forms:</p>
-
- <ul class="brief">
-
- <li>Last, First</li>
-
- <li>Last F.</li>
-
- <li>Last F</li>
-
- <li>First Last</li>
-
- </ul>
-
- </dd>
-
- </dl>
-
</dd>
<dt><dfn title="md-vcard-n-family-name"><code>family-name</code></dfn> (inside <code title="md-vcard-n">n</code>)</dt>
@@ -56900,10 +56836,6 @@
the vCard text string</span> of that <span>global identifier</span>
as the value to <var title="">output</var>.</p></li>
- <li><p>Let <var title="">first-n</var>, <var
- title="">first-org</var>, and <var title="">first-fn</var> be
- null.</p></li>
-
<li>
<p>For each element <var title="">element</var> that is <span
@@ -56935,10 +56867,6 @@
<ol>
- <li><p>If <var title="">first-n</var> is null, let <var
- title="">first-n</var> be <var
- title="">element</var>.</p></li>
-
<li><p>Let <var title="">value</var> be the empty
string.</p></li>
@@ -57077,10 +57005,6 @@
<ol>
- <li><p>If <var title="">first-org</var> is null, let <var
- title="">first-org</var> be <var
- title="">element</var>.</p></li>
-
<li><p>Let <var title="">value</var> be the empty
string.</p></li>
@@ -57181,22 +57105,6 @@
<ol>
- <li>
-
- <p>If <var title="">name</var> is <code
- title="md-vcard-fn">fn</code> and <var
- title="">first-fn</var> is null, let <var
- title="">first-fn</var> be <var
- title="">element</var>.</p>
-
- <p>Otherwise, if <var title="">name</var> is <code
- title="md-vcard-org">org</code> and <var
- title="">first-org</var> is null, let <var
- title="">first-org</var> be <var
- title="">element</var>.</p>
-
- </li>
-
<li><p>Let <var title="">value</var> be the property's <span
title="concept-property-value">value</span>.</p></li>
@@ -57264,118 +57172,6 @@
</li>
- <li>
-
- <p>If <var title="">first-n</var> is null, then run the following
- substeps:</p>
-
- <ol>
-
- <li><p>If <var title="">first-fn</var> is also null, then skip
- the remainder of these substeps.</p></li>
-
- <li><p>If <var title="">first-fn</var> has a <span
- title="concept-property-value">value</span> that is an <span
- title="concept-item">item</span>, then skip the remainder of
- these substeps.</p></li>
-
- <li><p>If <var title="">first-org</var> is not null, and the
- <span title="concept-property-value">value</span> of <var
- title="">first-org</var> is not an <span
- title="concept-item">item</span> and is equal to <var
- title="">first-fn</var>, then <span>add a vCard line</span> with
- the type "<code title="">N</code>" whose value is four U+003B
- SEMICOLON characters ("<code title="">;;;;</code>") to <var
- title="">output</var>. Then, skip the remainder of these
- substeps.</p></li>
-
- <li><p>If the <span title="space character">space
- characters</span> in <var title="">first-fn</var>, if any, are
- not all contiguous, then skip the remainder of these
- substeps.</p></li>
-
- <li><p><span title="split a string on spaces">Split <var
- title="">first-fn</var> on spaces</span>, and let <var
- title="">part one</var> be the first resulting token, and <var
- title="">part two</var> be the second, if any, or the empty
- string if there is no second token. (There cannot be three, given
- the previous step.)</p></li>
-
- <li>
-
- <p>If the last character of <var title="">part one</var> is a
- U+002C COMMA character (,), then remove that character from <var
- title="">part one</var> and <span>add a vCard line</span> with
- the type "<code title="">N</code>" whose value is the
- concatenation of the following strings:</p>
-
- <ol class="brief">
- <li>The result of <span>escaping the vCard text string</span> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <span>escaping the vCard text string</span> <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol>
-
- <p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p>If <var title="">part two</var> is two Unicode code-points
- long and its second character is a U+002E FULL STOP character
- (.), then <span>add a vCard line</span> with the type "<code
- title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class="brief">
- <li>The result of <span>escaping the vCard text string</span> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <span>escaping the vCard text string</span> consisting of the first character of <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol>
-
- <p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p>If <var title="">part two</var> is one Unicode code-point
- long, then <span>add a vCard line</span> with the type "<code
- title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class="brief">
- <li>The result of <span>escaping the vCard text string</span> <var title="">part one</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <span>escaping the vCard text string</span> <var title="">part two</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol>
-
- <p>Then, skip the remainder of these substeps.</p>
-
- </li>
-
- <li>
-
- <p><span>Add a vCard line</span> with the type "<code
- title="">N</code>" whose value is the concatenation of the
- following strings:</p>
-
- <ol class="brief">
- <li>The result of <span>escaping the vCard text string</span> <var title="">part two</var></li>
- <li>A U+003B SEMICOLON character (;)</li>
- <li>The result of <span>escaping the vCard text string</span> <var title="">part one</var></li>
- <li>Three U+003B SEMICOLON characters (;)</li>
- </ol>
-
- </li>
-
- </ol>
-
- </li>
-
<li><p><span>Add a vCard line</span> with the type "<code
title="">END</code>" and the value "<code title="">VCARD</code>"
to <var title="">output</var>.</p></li>
@@ -57584,6 +57380,10 @@
<pre><section id="jack" itemscope itemtype="http://microformats.org/profile/hcard">
<h1 itemprop="fn">Jack Bauer</h1>
+ <div itemprop="n">
+ <meta itemprop="given-name" content="Jack">
+ <meta itemprop="family-name" content="Bauer">
+ </div>
<img itemprop="photo" alt="" src="jack-bauer.jpg">
<p itemprop="org" itemscope>
<span itemprop="organization-name">Counter-Terrorist Unit</span>
@@ -57617,8 +57417,11 @@
<p itemprop="note">If I'm out in the field, you may be better off contacting <span
itemprop="agent" itemscope itemtype="http://microformats.org/profile/hcard"><a
itemprop="email" href="mailto:c.obrian at la.ctu.gov.invalid"><span
- itemprop="fn">Chloe O'Brian</span></a></span> if it's about work, or ask <span
- itemprop="agent">Tony Almeida</span> if you're interested in the CTU five-a-side football team we're trying to get going.</p>
+ itemprop="fn"><span itemprop="n" itemscope><span
+ itemprop="given-name">Chloe</span> <span
+ itemprop="family=name">O'Brian</span></span></span></a></span>
+ if it's about work, or ask <span itemprop="agent">Tony Almeida</span>
+ if you're interested in the CTU five-a-side football team we're trying to get going.</p>
<ins datetime="2008-07-20T21:00:00+01:00">
<span itemprop="rev" itemscope>
<meta itemprop="type" content="date-time">
@@ -57643,7 +57446,8 @@
components:</p>
<pre><address itemscope itemtype="http://microformats.org/profile/hcard">
- <strong itemprop="fn">Alfred Person</strong> <br>
+ <strong itemprop="fn"><span itemprop="n"><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>
@@ -57660,10 +57464,15 @@
names:</p>
<pre><span itemscope itemtype="http://microformats.org/profile/hcard"
-><span itemprop=fn>George Washington</span></span></pre>
+><span itemprop=fn><span itemprop="n"><span itemprop="given-name"
+>George</span> <span itemprop="family-name">Washington</span></span
+></span></span></pre>
- <p>This creates a single item with a single name-value pair, with
- the name "fn" and the value "George Washington". This is defined to
+ <p>This creates a single item with a two name-value pairs, one with
+ the name "fn" and the value "George Washington", and the other with
+ the name "n" and a second item as its value, the second item having
+ the two name-value pairs "given-name" and "family-name" with the
+ values "George" and "Washington" respectively. This is defined to
map to the following vCard:</p>
<pre>BEGIN:VCARD
@@ -59377,9 +59186,11 @@
<pre><p>
Both
- <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn">Princeton</span></span>
+ <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn"
+ ><span itemprop="n" itemscope><span itemprop="given-name">Princeton</span></span></span></span>
and
- <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn">Trekkie</span></span>
+ <span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"><span itemprop="fn"
+ ><span itemprop="n" itemscope><span itemprop="given-name">Trekkie</span></span></span></span>
live at
<span id="home" itemprop="adr" itemscope><span itemprop="street-address">Avenue Q</span>.</span>
</p></pre>
@@ -59390,18 +59201,22 @@
<pre class="turtle">@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dct: <http://purl.org/dc/terms/> .
- at prefix hcard: <http://www.w3.org/1999/xhtml/microdata#http%3A%2F%2Fmicroformats.org%2Fprofile%2Fhcard%23%3A> .
+ at prefix hcard: <http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:> .
<> <http://www.w3.org/1999/xhtml/microdata#item> _:n0 ;
<http://www.w3.org/1999/xhtml/microdata#item> _:n1 .
-_:n0 rdf:type <http://microformats.org/profile/hcard> ;
- hcard:fn "Princeton" ;
- hcard:adr _:n2 .
-_:n1 rdf:type <http://microformats.org/profile/hcard> ;
- hcard:fn "Trekkie" ;
- hcard:adr _:n2 .
-_:n2 hcard:adr%20street-address "Avenue Q" ;
- hcard:adr%20street-address "Avenue Q" .</pre>
+_:n0 rdf:type <http://microformats.org/profile/hcard> ;
+ hcard:fn "Princeton" ;
+ hcard:n _:n0a
+ hcard:adr _:n2 .
+_:n0a hcard:n%20given-name "Princeton" .
+_:n1 rdf:type <http://microformats.org/profile/hcard> ;
+ hcard:fn "Trekkie" ;
+ hcard:n _:n1a
+ hcard:adr _:n2 .
+_:n1a hcard:n%20given-name "Trekkie" .
+_:n2 hcard:adr%20street-address "Avenue Q" ;
+ hcard:adr%20street-address "Avenue Q" .</pre>
</div>
More information about the Commit-Watchers
mailing list