logo       

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

org.w3c.miscellaneous

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


On Tue, 2006-11-28 at 16:32 -0500, Norman Walsh wrote:
> / Dan Connolly <connolly@xxxxxx> 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@xxxxxxx

+cc www-archive.

--
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise