W3C home > Mailing lists > Public > www-archive@w3.org > November 2006

Re: "Dr. H.A.F.M.O van Mierlo" example

From: Dan Connolly <connolly@w3.org>
Date: Tue, 28 Nov 2006 16:34:22 -0600
To: Norman Walsh <ndw@nwalsh.com>
Cc: www-archive@w3.org, Bruce D'Arcus <bdarcus@gmail.com>, Brian Suda <brian.suda@gmail.com>, Dan Brickley <danbrickley@gmail.com>, Ivan Herman <ivan@w3.org>
Message-Id: <1164753262.3997.1074.camel@dirk>

On Tue, 2006-11-28 at 16:32 -0500, Norman Walsh wrote:
> / Dan Connolly <connolly@w3.org> was heard to say:
> | The output looks odd; I can't tell if I'm hitting a bug in hcard2rdf.xsl
> | or what; 
> 
> A bug.
> 
> | a quick look at the code suggests that it supports
> | sort-string, but I can't get it to work:
> 
> Fixed now, I think:

Well, the sort-string bit looks right, but why is
nickname inside the fn?

>    <v:VCard>
>       <v:fn>Dr. H. A. F. M. O van Mierlo</v:fn>
>       <v:n rdf:parseType="Resource">
>          <rdf:type rdf:resource="http://www.w3.org/2006/vcard/ns#Name"/>
>          <v:nickname>Hafmo</v:nickname>
>       </v:n>
>       <v:sort-string>Mierlo, H.A.F.M.O, van</v:sort-string>
>       <v:title>minister of foreign affairs</v:title>
>    </v:VCard>

I see "IS THIS RIGHT? The domain of the v:nickname property is the
v:VCard class." in the schema. Yes, that's the way I'd do it.
nickname isn't like given-name/family-name/etc.

p.s. how did we get off-list again? Ah... I see Bruce's msg
didn't go to semantic-web@w3.org.

+cc www-archive.

-- 
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
Received on Tuesday, 28 November 2006 22:34:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:18:00 GMT