Re: which URI to use as hCard profile URI? (vcard/RDF)

/ Dan Connolly <connolly@w3.org> was heard to say:
| The 2006/vcard namespace document doesn't (yet?) work
| as a GRDDL profile; it has no profileTransformation etc.

Can you point out more explicitly what needs to be changed?

| Now I'm having trouble getting the fax field to work right.
| The business card says:
|
| Phone: +1-123-456-7890 Mobile: +1-111-555-7890 Fax: +1-111-111-1234 
| which I encode as:
|
|    <div class="tel">Phone: <span
| class="value">+1-123-456-7890</span></div>
|    <div class="tel"><abbr class="type" title="cell">Mobile</abbr>: <span
| class="value">+1-111-555-7890</span></div>
|    <div class="tel"><abbr class="type" title="fax">Fax</abbr>: <span
| class="value">+1-111-111-1234</span></div>
|
| but what I get out is:
|
|     <v:tel rdf:resource="tel:+1-123-456-7890"/>
|     <v:mobileTel rdf:resource="tel:+1-111-555-7890"/>
|     <v:tel rdf:resource="tel:+1-111-111-1234"/>

Typo in the translate() function. Fixed now.

| by the way... Norm, the standard token is 'cell'; this
| bit of hcard2rdf.xsl goes beyond the standard:
|    <xsl:when test="$token = 'mobile' or $token = 'cell'">

Ok. Fixed also. Though I strongly prefer mobile over cell, personally.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
XML Standards Architect
Sun Microsystems, Inc.

Received on Tuesday, 14 November 2006 17:33:51 UTC