VCard4: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(→‎high level proposal for improving vCard4: note GEDCOM as another source for genealogy properties)
(update summary based on having a "done" RFC)
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
vCard 4 is work in progress (by the vcarddav group in IETF) on an update/replacement to/for vCard 3, RFC 2426.
vCard 4 is defined by [http://tools.ietf.org/html/rfc6350 RFC6350] ([http://www.ietf.org/rfc/rfc6350.txt text version]) and was developed the vcarddav group in IETF as an update/replacement to/for vCard 3, RFC 2426.


In many ways vCard4 breaks backward compatibility with vCard3.
In many ways vCard4 is a big step forward from vCard3 in terms of a standard for exchanging contact information.


In addition, vCard4 appears to be evolving in a different direction from (and in some way incompatibly with) the nascent Portable Contacts standard, which itself evolved incrementally and fairly cleanly/compatibly from [[hCard]] which was based on vCard3.
Also, in some minor ways vCard4 appears to be evolving in a different direction from (and in some way incompatibly with) the nascent Portable Contacts standard, which itself evolved incrementally and fairly cleanly/compatibly from [[hCard]] which was based on vCard3.
 
Finally, vCard4 adds a number of features which would make much more sense as orthogonal extensions (groups, calendaring, syncing).


This page documents known vCard4 issues from our analysis of the work in progress, in comparison to hCard/vCard3 and in comparison to Portable Contacts.
This page documents known vCard4 issues from our analysis of the work in progress, in comparison to hCard/vCard3 and in comparison to Portable Contacts.


Our goal is to encourage vCard4 to converge with (or at least become compatible with) Portable Contacts in order to avoid a schism in identity/profile formats on the web.
Our goal is to encourage vCard4 stick to a identity-centric core, and to converge with (or at least become compatible with) Portable Contacts in order to avoid a schism in identity/profile formats on the web.
 
— [[User:Tantek|Tantek]]
 
== vcarddav ==


— [[User:Tantek|Tantek]] 17:50, 14 August 2010 (PDT)
The IETF VCARDDAV was formed to develop vCard4 among other things.


Mailing list:
* http://www.ietf.org/mail-archive/web/vcarddav/current/maillist.html


Wiki: unknown. Unofficial vCard related wiki documentation has been maintained by microformats.org (and was incorporated as feedback into early drafts of vCard4)
* vCard3:
** http://microformats.org/wiki/vcard-errata
** http://microformats.org/wiki/vcard-suggestions
* http://microformats.org/wiki/vcard4


== current draft ==
== current draft ==
http://www.ietf.org/internet-drafts/draft-ietf-vcarddav-vcardrev-13.txt
vCard 4 draft 22 has been published as [http://tools.ietf.org/html/rfc6350 RFC6350] ([http://www.ietf.org/rfc/rfc6350.txt text version])
 
Changes made in earlier drafts:
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-22 draft 22 diffs from 21]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-21 draft 21 diffs from 20]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-20 draft 20 diffs from 19]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-19 draft 19 diffs from 18]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-18 draft 18 diffs from 17]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-17 draft 17 diffs from 16]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-16 draft 16 diffs from 15]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-15 draft 15 diffs from 14]
* [http://tools.ietf.org/rfcdiff?url2=draft-ietf-vcarddav-vcardrev-14 draft 14 diffs from 13]
 
2010-12-09: draft 15
* <nowiki>http://www.ietf.org/internet-drafts/draft-ietf-vcarddav-vcardrev-15.txt</nowiki> (dead link, how does one view and link to versions of IETF drafts?)


== recent vcarddav meetings ==
== recent vcarddav meetings ==
* 2010-07-28 10h30-11h30 IETF Vcarddav working group, IETF 78 meeting, Maastricht, NL
IETF Vcarddav working group meetings and meeting notes
* 2010-11-10 15h10-16h10 IETF 79 meeting, Beijing, China
** http://www.ietf.org/mail-archive/web/vcarddav/current/msg01898.html
* 2010-07-28 10h30-11h30 IETF 78 meeting, Maastricht, NL
** http://www.ietf.org/mail-archive/web/vcarddav/current/msg01631.html
** http://www.ietf.org/mail-archive/web/vcarddav/current/msg01631.html


== high level proposal for improving vCard4 ==
== high level proposal for improving vCard4 ==


Based on a thorough section by section review, the changes and feedback I have for vCard4 draft 13 fall into a general outline as follows:
Based on a thorough section by section review, the changes and feedback I have for vCard4 fall into a general outline as follows:


1. Explicitly state as a goal to have vCard4 be reasonably backward compatible (i.e. with current implementations) of vCard3, both syntactically, and from a schema perspective (e.g. don't mess with structure of properties like N). This kind of practical backward compat enabled publishers to start posting vCard3 even when most consuming applications still only supported vCard2.1.
1. Explicitly state as a goal to have vCard4 be reasonably backward compatible (i.e. with current implementations) of vCard3, both syntactically, and from a schema perspective (e.g. don't mess with structure of properties like N). This kind of practical backward compat enabled publishers to start posting vCard3 even when most consuming applications still only supported vCard2.1. The presence of vCard3 data then encouraged consuming applications over time to adopt it as well. I'd like to see the same successful adoption occur for
vCard4.


2. Keep the vCard4 core set of properties down to a minimum that has been well established either in:
2. Keep the vCard4 core set of properties down to a minimum that has been well established either in:
Line 30: Line 61:
* Current well adopted mature RFCs (e.g. IMPP)
* Current well adopted mature RFCs (e.g. IMPP)
* Common additions by OpenID / Portable Contacts that have seen adoption (e.g. SEX/GENDER, LANGUAGE, ACCOUNTS)
* Common additions by OpenID / Portable Contacts that have seen adoption (e.g. SEX/GENDER, LANGUAGE, ACCOUNTS)
I believe this too will encourage better vCard4 adoption.


3. Drop other new vCard4 properties from the core and if they seem to make sense, move them to extension specifications instead where they can prove themselves out, e.g.:
 
* KIND - vCard should not expand scope like this. For new kinds of objects new vThings should be created, and can be, outside the vCard spec.
3. Drop other new vCard4 properties/values from the core and if they seem to make sense, move them to extension specifications instead where they can prove themselves out, e.g.:
* XML - bad idea. Don't violate DRY. This encourages breaking interop by potentially allowing implementations to look only at the XML or at the actual properties in a vCard. Same on the publishing side.
* KIND:GROUP - vCard should not expand scope like this. For new kinds of objects new vThings should be created as iCalendar did (e.g. VGROUP), and can be, outside the vCard spec.
* XML - obsolete bad idea. From a programmatic perspective the web has moved on from XML to JSON. See [http://blog.jclark.com/2010/11/xml-vs-web_24.html James Clark: XML vs the Web] (2010-11-24)


Potential Extensions:
Potential Extensions:
* groups extension (MEMBER property, maybe a new VGROUP object)
* sync extension (CLIENTPIDMAP, etc.)
* calendar contact extension (FBURL, CALADRURI, CALURI)
4. Improvements to Extensions:
(this subsection needs updating per the recent drafts of the genealogy extension - [[User:Tantek|Tantek]] 23:35, 11 January 2011 (PST))
The following have been dropped from vCard4 because there is little/no implementation or real world examples of address book user interfaces using them. Nonetheless, they may be considered for development as extension specifications and as such deserve some feedback.
* genealogy extension (BIRTH location, DEATH location, DDAY datetime of death, maybe more from GEDCOM)
* genealogy extension (BIRTH location, DEATH location, DDAY datetime of death, maybe more from GEDCOM)
* social networking extension (MEMBER, RELATED, maybe more from PoCo)
** DDAY
* calendar contact extension (FBURL, CALADRURI, CALURI)
*** Use case: this is parallel to the existing BDAY field, and could help solve longstanding UI problems with address book entries for people who have passed away (and social network profiles as well that are memorialized).
*** ISSUE: bad name. "DDAY" already has a commonly known meaning of the [http://en.wikipedia.org/wiki/Normandy_landings Normandy Landings] (usually written "D-Day". Here are some suggested alternatives
**** DECEASED - term is used in the fictional profile user interface of a government accounting department in the movie "Hackers". And even though this is a fictional example (there are others, like in the movie "Amelie" a scene is shown where a weeping gentleman is erasing a recently deceased friend from his address book).
*** ISSUE: No real world implementation. There is no documentation of any  basis for inclusion based on existing address book features / interfaces.
** DEATH - death location (this is not their grave location, but rather the place they died)
*** ISSUE: Lack of address book use case. What is the use case for keeping track of other people's death locations in your address book?
*** ISSUE: bad name, too generic, this property is poorly worded. What does genealogy software currently use for the label for the location of death? (assuming any genealogy software actually supports that - which should be documented)
**** maybe something like DLOCATION - using D prefix and reusing LOCATION property from iCalendar - would be better.
** BIRTH
*** ISSUE: Lack of address book use case. What is the use case for keeping track of other people's birth locations in your address book?
*** ISSUE: again bad name, too generic, this property is poorly worded. What does genealogy software currently use for the label for the location of birth? (assuming any genealogy software actually supports that - which should be documented)
**** maybe something like BLOCATION - reusing B prefix from BDAY and LOCATION property from iCalendar - would be better
*** ISSUE: impacts security. some sites use birth location as a pseudo-security question/answer.


== issues ==
== issues ==
This is a rough list of issues that is incomplete.
This is a rough list of issues that is incomplete.


Please see the section by section review below that has both a much more detailed and comprehensive coverage of the problems in the current vCard4 draft13 with suggestions for improvement too.
Please see the section by section review below that has both a much more detailed and comprehensive coverage of the problems in the current vCard4 draft 15 with suggestions for improvement too.
 
=== divergence from vCard3 ===
* N property
** dropped 'additional-name's - this makes it non-backward compat with vCard3
=== divergence from Portable Contacts ===
* SEX (in vCard4) vs GENDER (in PoCo)
** different property names and values that don't necessarily map
** this might actually be ok if we document how to keep and use *both* properties, each for a specific purpose, that is:
*** SEX - biological value (enum: (M)ale, (F)emale, (O)ther, (N)one)
*** GENDER - gender identity value (a string)


==== see also 2009 Joseph Smarr post ====
=== divergence from GENDER proposal ===
Joseph Smarr wrote about [http://josephsmarr.com/2009/03/25/portable-contacts-and-vcarddav-ietf-74/ Portable Contacts and vCardDAV (IETF 74)] on his blog in March of 2009 also covering challenges/issues around vCard4 vs PoCo.
* GENDER property as proposed in feedback on draft 13 included 2 components, an enum and an plain text field. draft 15 GENDER property is only a single plain text field.


=== new properties not used by address books ===
* Summary of previous proposal:
New properties in vCard4 were supposed to have some basis in existing address book features. The following properties do not appear to meet this criteria:
** SEX - biological value (enum: (M)ale, (F)emale, (O)ther, (N)one, (U)nknown)
* DDAY - date of death
** GENDER - gender identity value (a string)
** opinion: +0 - this is parallel to the existing BDAY field, and could help solve longstanding UI problems with address book entries for people who have passed away (and social network profiles as well that are memorialized). mostly harmless, may be interesting to include. I'm ok with this property going into the public last call and seeing what implementations do with it, but want to point out that there is no basis for inclusion based on existing address book features / interfaces. [[User:Tantek|Tantek]] 18:36, 14 August 2010 (PDT)
* BIRTH - birth location
** opinion: -1 - this seems like a bad idea.  many sites use birth location as a pseudo-security question/answer.  What is the use case for keeping track of other people's birth locations in your address book? (nevermind that this property is also poorly worded - something like BLOCATION - reusing B prefix from BDAY and LOCATION property from iCalendar - would be better) vCard4 should drop this property. [[User:Tantek|Tantek]] 18:36, 14 August 2010 (PDT)
* DEATH - death location (this is not their grave location, but rather the place they died)
** opinion: -1 - again, seems like a bad idea. What is the use case for keeping track of other people's death locations in your address book? (nevermind that this property is also poorly worded - something like DLOCATION - reusing D prefix from DDAY and LOCATION property from iCalendar - would be better) vCard4 should drop this property. [[User:Tantek|Tantek]] 18:36, 14 August 2010 (PDT)


=== other properties and problems ===
=== other properties and problems ===
* KIND property - this seems like the wrong way to add new data types.  vCard4 appears to be extended to represent (in addition to people and organizations)
* KIND property - this seems like the wrong way to add new data types.  vCard4 appears to be extended to represent (in addition to people and organizations)
** a group (of vCard items)
** a group (of vCard items)
** a "thing" (like a conference room projector
** opinion: -1 - this seems like a bad way to extend type information.  shoehorning all types of objects into being "vCards" seems like a really bad design decision.  the MIME/Content type mechanism should be used instead.  e.g. create a vGroup and vThing if necessary instead. it is also unnecessary for differentiating a person vs organization - that is organization is already inferred by FN == ORG. thus vCard4 should drop this property. [[User:Tantek|Tantek]] 18:36, 14 August 2010 (PDT)
** opinion: -1 - this seems like a bad way to extend type information.  shoehorning all types of objects into being "vCards" seems like a really bad design decision.  the MIME/Content type mechanism should be used instead.  e.g. create a vGroup and vThing if necessary instead. it is also unnecessary for differentiating a person vs organization - that is organization is already inferred by FN == ORG. thus vCard4 should drop this property. [[User:Tantek|Tantek]] 18:36, 14 August 2010 (PDT)
* XML - this seems like a total hack and encourages DRY violation.


=== other new properties that should go into extension instead ===
=== other new properties that should go into extension instead ===
The following new properties should not be in core vCard and should be considered for extensions instead.
The following new properties should not be in core vCard and should be considered for extensions instead.


Social Networking extension:
Groups extension:
* MEMBER - related to GROUPs
* MEMBER - related to GROUPs
* RELATED
* perhaps a new VGROUP object


Synchronization extension:
Synchronization extension:
Line 91: Line 125:
* CALURI
* CALURI


== draft 13 section by section review ==
== draft 15 section by section review ==
 
=== section 3.1 ===
3.1.  Line Delimiting and Folding
 
Editorial comment:
 
Examples use "DESCRIPTION" property - which is not in vCard.
 
Suggestion: use "NOTE" property instead.
 
=== section 4.1 ===
4.1.  TEXT
 
Editorial comment:
 
Examples use "DESCRIPTION" property - which is not in vCard.
 
Suggestion: use "NOTE" property instead.
 
=== section 4.4 ===
4.4.  BOOLEAN
 
Editorial comment:
 
TYPO:
 
"boolean": The "boolean" value type is used to express boolen values.
 
Should be:
 
"boolean": The "boolean" value type is used to express boolean values.
 
=== section 5.1 ===
5.1.  LANGUAGE
 
Editorial comment:
 
Please provide a simple example use of the LANGUAGE property parameter, e.g.
 
<pre><nowiki>
ROLE;LANGUAGE=en:teacher
ROLE;LANGUAGE=tr:hoca
 
See below ALTID property parameter for how to associate these two ROLE properties as being alternatives for the same property value.
</nowiki></pre>
 
=== section 5.4 ===
5.4.  PREF
 
Preferred value between 1 and 100 seems a bit arbitrary.
 
What is the use-case for this?
 
Also, from a synchronization perspective, picking absolute numbers for indicating preference would seem to make little sense, as the values themselves only make sense relative to other values.
 
Suggestion: drop this property parameter - it seems like a bad design, and unnecessary.
 
=== section 5.5 ===
5.5.  ALTID
 
This seems like a good mechanism for publishing multilingual alternatives on a per-property basis.
 
I'm interested to see how implementations support this, but overall optimistic about its potential.


=== section 5.6 ===
=== section 5.6 ===
5.6.  PID
5.6.  TYPE
 
This definition is very short and abstract and is not very useful out of context as it is.  There should be at least one concrete example, otherwise move this section to "Section 7" since that's where it says there are "more details on its usage".
 
My recommendation just reading its description would be to drop this new property parameter.
 
=== section 5.7 ===
5.7.  TYPE
 
No specific comments.  General comment - type seems like a catch-all of sorts - not very well designed.  Some of the uses are quite flawed. E.g. the notions of "work" and "home" have not worked well in practice. In particular "work" doesn't make much sense given that there is an "ORG" property with which any work email/phone/address should be associated, rather than just implied.
 
=== section 5.8 ===
5.8.  CALSCALE
 
In practice have there been any address books that implement a CALSCALE *other* than the specific default of "gregorian"?
 
I think this should be dropped until there is at least some evidence produced that there is address book software out there that bothers to even try to support part of the existing vCard3 spec and that provides a non-gregorian calendar scale user interface.
 
Recommended we drop this property parameter.


=== section 5.9 ===
Same issue(s) as draft 13 section 5.7. No specific commentsGeneral comment - type seems like a catch-all of sorts - not very well designedSome of the uses are quite flawed. E.g. the notions of "work" and "home" have not worked well in practice. In particular "work" doesn't make much sense given that there is an "ORG" property with which any work email/phone/address should be associated, rather than just implied.
5.9SORT-AS
 
Having this as a property *parameter* seems like an improvement over the previous 'sort-string' property which I've not really seen used in the wild.
 
=== section 5.10 ===
5.10GEO
 
This makes sense as an addition/refinement to the ADR property, to assign a specific lat/long to a particular address, especially when multiple addresses are involved. hCard backward compat will be a little interesting but I'm sure we can figure it out.
 
=== section 5.11 ===
5.11. TZ
 
Makes sense in the same way as GEO parameter.
 
=== section 5.12 ===
5.12.  VERSION
 
I don't think this is necessary, and in fact encourage future breaking as well as pushing the burden of handling multiple versions of a property onto implementations.
 
Let's NOT add this, and instead work hard to:
* specify forward compatible parsing rules (i.e. ignore any params you don't recognize)
* keep properties backward compatible in general, just adding detail params (like TZ and GEO) where it progressively enhances the property without breaking any existing semantics.
 
=== section 5.13 ===
5.13.  FMTTYPE
 
This seems like a reasonable property parameter addition for binary value types.
 
=== section 6. ===
The current cardinality shorthands are cryptic, please use something more typically readable, e.g.:
 
* (1) - exactly one instance must be present
* (1-n) - at least one instance must be present
* (0-1) - at most one instance may be present
* (0-n) - any number of instances may be present
 
=== section 6.1 ===
6.1.  General Properties
 
no content.
 
=== section 6.1.1. BEGIN ===
 
no comment. seems compatible.
 
=== section 6.1.2. END ===
 
no comment. seems compatible.
 
=== section 6.1.3. SOURCE ===
6.1.3.  SOURCE
 
no comment. seems compatible.


=== section 6.1.4.  KIND ===
=== section 6.1.4.  KIND ===
6.1.4.  KIND
6.1.4.  KIND


I think this is a really bad idea.
While not the best of ideas, the introduction of this somewhat meta-property may be inevitable to at least distinguish between the existing real world uses and implementations of vCards for organizations, people, and places.
 
I still object to: GROUP


While existing usage of vCard3 for both people and organizations is something we have to support moving forward, I really don't want to see this expanded further (with the possible exception of a named location - which we've found utility for with hCard as well).
GROUP should be dropped from 6.1.4 KIND. It may make sense as an extension (similar to LIST and ROBOT suggested by Kevin Marks).


Object to: group, thing
2010-12-20 email sent to vcarddav list accordingly.


Groups should not just be a form of vCard.  And thing?  I think both of these are horrible abuse of existing vCard semantics.
Lots of follow-up on the list and disagreement - no conclusion/consensus.


If you want to add new objects, let's add new objects like a vGroup or a vThing etc. But please let's not bloat vCard with these things.
KIND:GROUP and the entire GROUP feature is premature and not ready for a last call.


=== section 6.1.5.  XML ===
=== section 6.1.5.  XML ===
6.1.5.  XML
6.1.5.  XML


I think this is totally unnecessary and a bad idea because it violates DRY.
While it has been clarified that this property is NOT for duplicating any vCard properties/values, this still seems like a bit of a hack.


Seriously? An XML property that represents all the rest of the data in the same vCard? Ugh. Which do you trust? The XML or the actual vCard properties?
There haven't been sufficient real world use cases presented to justify this property.


What precise (end user scenario) problem is it necessary to (help) solve?


=== section 6.2.  Identification Properties ===
Frankly, this looks like a hack for a specific implementation and not something that belongs in this generic spec.
6.2.  Identification Properties


no comment on intro.
For instance, people might be using all kinds of other data around contact info but it's not vCard's job to provide some place to stick it.


=== section 6.2.1.  FN ===
You could always invent your own X-STORED-EXTRA-DATA field.
6.2.1.  FN


The possibility of having multiple FNs is introduced, which seems both reasonable and useful in practice from personal experience with developing address book code.
Such proprietary data is unlikely to be interoperable anyway, therefore we shouldn't pretend to make it superficially look like it by putting in a specific property for it. Better to leave implementations to use their own opaque proprietary properties for proprietary extensions.


However, there is no advice/guidance given regarding how to treat multiple FNs and thus I fear this new capability may introduce some interoperability problems.
Also, this property will be very confusing to new implementers who may either not even be aware of or not care about the XML serialization, let alone a need to round-trip it thru this format (c.f. [http://blog.jclark.com/2010/11/xml-vs-web_24.html XML is dead on the web, killed by JSON] at least for APIs. For formats/documents, HTML(5)+microformats have handily beat XML on the Web).


I suggest some wording and examples clarifying what the purpose may be for multiple FNs, e.g. multiple ways of displaying a name (perhaps some with additional names, some without), or multiple ways (character sets? languages?) to write a name (e.g. a Japanese name may be written with Kanji or transliterated Hiragana).
Recommendation: DROP XML property, and encourage implementers who think they need it or want to implement to propose an extension instead.


=== section 6.2.1.  FN ===
6.2.1.  FN


=== section 6.2.2. N ===
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.2.1._FN remains from draft 13]:


Not requiring an N is a big improvement.
This property has changed from requiring a single instance in vCard3 to requiring one or more instances in vCard4.


The new N structure is different enough from vCard3 to be problematic.
There is no advice/guidance/example given regarding how to treat multiple FNs and thus I fear this new capability may introduce some interoperability problems.


Minor change:
I suggest some wording and examples clarifying what the purpose may be for multiple FNs, e.g. multiple ways of displaying a name (perhaps some with additional names, some without), or multiple ways (character sets? languages?) to write a name (e.g. a Japanese name may be written with Kanji or transliterated Hiragana).
* Use "family name" as a primary (perhaps with "also known as surname") since vCard3 referred to "family name", and hCard adopted that wording in the subproperty "family-name".
 
Major changes:
* Consider allowing multiple family names. In my experience giving microformats workshops around the world, I have found that there are languages/cultures that actually use multiple family names in practice, e.g. in Spain.
* Restore the "additional name" structural component that was in vCard3 for better schematic compatibility.
* Am ok with multiple Given Names as that does reflect common practice.
 
=== section 6.2.3.  NICKNAME ===
6.2.3.  NICKNAME
"belonging to a person, place, or thing" - avoid such itemizations of what a vCard could represent as it will be (is) a maintenance nightmare.
 
Use "belonging to the object the vCard represents" instead.
 
=== section 6.2.4.  PHOTO ===
6.2.4.  PHOTO
 
Seems about the same as vCard3.
 
Provide a data: URI example as implementations do seem to support that, and note how the data URI may contain the content/MIME-type and thus that can be used instead of the FMTTYPE param. For reference:
 
http://en.wikipedia.org/wiki/Data_URI_scheme
 
<nowiki>data:[<MIME-type>][;charset=<encoding>][;base64],<data></nowiki>


=== section 6.2.5.  BDAY ===
=== section 6.2.5.  BDAY ===
6.2.5.  BDAY
6.2.5.  BDAY


The expansion of permitting month-day only or year only are both very good. Would also suggest permitting year-month as well, e.g. 1996-04
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.2.5._BDAY remains from draft 13]:


The expansion of permitting month-day only or year only are both very good and allowing text based "circa" dates is interesting as well.  Would also suggest permitting year-month as well, e.g. 1996-04


=== section 6.2.6.  DDAY ===
Recommend updating examples to:
6.2.6.  DDAY


No evidence of address books that support this property have been presented.
<pre><nowiki>
Examples:


This would make more sense as part of a "genealogy" extension to vCard4 rather than part of the core.
            BDAY:19960415
 
            BDAY:1996-04
That being said:
            BDAY:--0415
            BDAY;19531015T231000Z
            BDAY;VALUE=text:circa 1800
</nowiki></pre>


I for one have personally found it there to be a user-interface challenge in managing the contact information in an address book of people that have passed away.
and make any updates to the grammar as needed.


While some may suggest simply deleting such entries, I don't think that reflects that necessary history/attachment/notes of common usage of such address book entries.
=== section 6.2.6.  ANNIVERSARY ===
 
However, given that address books are often used to "auto-fill/suggest" things like email program "To:" fields etc. (e.g. Mail.app on MacOSX with the Address Book app), it makes sense to provide some way to mark a contact as deceased so that they don't show up in auto-fill/suggest user interfaces.
 
A DDAY property could serve as a proxy for such a "deceased" checkbox on an entry.
 
It should explicitly allow the same data type as BDAY, and provide examples accordingly.
 
Thus while there is no existing evidence of address books that provide this kind of user interface feature, I believe this may be an instance where it makes sense to add this field, given the *address book* use cases documented above.
 
Naming: while the name "DDAY" I'm sure appeals as a parallel to the BDAY property, the term DDay already has a widely known/used historical semantic and thus it may unnecessarily cause confusion.
 
I suggest instead the term "DECEASED" as that is much more indicative of the meaning (less cryptic).
 
"Deceased" was also the original suggestion provided on the microformats page for this property: http://microformats.org/wiki/vcard-suggestions#Deceased
 
In addition, consider permitting a simple "Y" value to indicate that the person is deceased but no precise date or even year is known.  This would enable modeling of a simple checkbox interface to indicate that someone has passed away without burdening the user with entering a date or year.
 
I would also be ok postponing this property to a "genealogy" extension.
 
 
=== section 6.2.7.  BIRTH ===
6.2.7.  BIRTH
No evidence of address books that support this property have been presented.
 
This would make more sense as part of a "genealogy" extension to vCard4 rather than part of the core.
 
And this is a horrible property name to boot for a "location".
 
Recommendation: drop from vCard4.
 
=== section 6.2.8.  DEATH ===
6.2.8.  DEATH
 
No evidence of address books that support this property have been presented.
 
This would make more sense as part of a "genealogy" extension to vCard4 rather than part of the core.
 
And this is a horrible property name to boot for a "location".
 
Recommendation: drop from vCard4.
 
=== section 6.2.9.  ANNIVERSARY ===
6.2.9.  ANNIVERSARY
6.2.9.  ANNIVERSARY


I have seen "anniversary" as a field in address book application user interfaces (anecdotal, off the top of my head), and thus this seems like a reasonable addition to vCard.
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.2.9._ANNIVERSARY remains from draft 13]:


Should allow same date-and-or-time data type as BDAY, including year-only, month-day, year-month etc.
Should allow same date-and-or-time data type as BDAY, including year-only, month-day, year-month etc.


=== section 6.2.10.  SEX ===
Recommend updating examples to:
6.2.10.  SEX


It's a good idea to add the general idea of this feature to vCard.
<pre><nowiki>
Examples:


The specific implementation is roughly close but does leave something to be desired.
            ANNIVERSARY:19960415
            ANNIVERSARY:1996-04
            ANNIVERSARY:--0415
            ANNIVERSARY;19531015T231000Z
            ANNIVERSARY;VALUE=text:circa 1800
</nowiki></pre>


The current draft has: The value 0 stands for "not known", 1 stands for "male", 2 stands for "female", and 9 stands for "not applicable".
=== section 6.2.7. GENDER  ===


While this discretization into 4 values makes sense,  and if I'm not mistaken, is based on the work in the microformats community:
Overall this is a big improvement over the [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.2.10._SEX previous "SEX" property].


http://microformats.org/wiki/gender-brainstorming
However, it appears the [https://wiki.mozilla.org/VCard4-draft-13-review#GENDER feedback/proposal for the GENDER property] was mistinterpreted or unintentionally oversimplified to a single text string.


The translation to opaque numerical values is a negative.
This is insufficient.  Here is the proposal again, updated with new conventions for the current draft.


Instead use the single letter prefixes of the English terms as noted in the microformats page:
==== GENDER  ====


sex: M(ale) F(emale) O(ther) N(one or Not applicable)
Purpose: To specify the components of the sex and gender identity of the object the vCard represents.


This reflects common use in both social networking sites which permit M or F (see microformats research at above URLs), as well as previous formats that have worked on representing this information, e.g. openid.sreg.gender permits  "M" for male, "F" for female.
Value type: A single structured text value. Each component can have a single value.  


Finally, sex without gender is problematic from a gender identity perspective and discriminatory against a marginalized minority.
Cardinality: *1


Thus for the sake of allowing a more flexible representation that avoids such marginalization, an additional property should be introduced:
Special notes: The structured property value corresponds, in sequence, to the sex (biological), and (optional) gender identity. The text components are each optional and separated by the SEMI-COLON character (ASCII decimal 59).


GENDER-IDENTITY
Sex component: The value M stands for "male", F stands for "female", O stands for "other", N stands for "none or not applicable", U stands for "unknown".


which takes a string that the user can assign any label.
Gender identity component: a single text value.  


Alternatively (and preferably), rather than the SEX property, introduce a new *structured* property:
Gender property examples:  


GENDER
<pre><nowiki>
Examples:
            GENDER:M
            GENDER:F
            GENDER:M;Fellow
            GENDER:F;Bird
            GENDER:O;intersex
            GENDER:;queer
</nowiki></pre>


Purpose:  To specify the components of the sex and gender identity of the object the vCard represents.
When you might you see the 'N' value for the sex component, and organization for example:


Value type: A single structured text value. Each component can have a single value.
<pre><nowiki>
Examples
            BEGIN:VCARD
            FN:IETF
            ORG:IETF
            KIND:org
            GENDER:N
            END:VCARD
</nowiki></pre>


Cardinality: (0-1)
Notes:  
 
Special notes:  The structured property value corresponds, in sequence, to the sex (biological), and (optional) gender identity. The text components are separated by the SEMI-COLON character (ASCII decimal 59).
 
Sex component: The value M stands for "male", F stands for "female", O stands for "other", N stands for "none or not applicable".
 
Gender identity component: a single text value.
 
 
In addition the current draft includes a notion of "not known", which, though I haven't seen evidence for, can understand the potential utility as it may help represent the explicit not knowing of information. Thus I would be ok with:
 
Sex component: The value M stands for "male", F stands for "female", O stands for "other", N stands for "none or not applicable", and U stands for "unknown".
 
 
 
=== section 6.3.  Delivery Addressing Properties ===
6.3.  Delivery Addressing Properties
 
No comment on intro section.


The examples of "Fellow" and "Bird" are taken from the actual [http://microformats.org/wiki/gender-examples user interface of Digg], and see [http://en.wikipedia.org/wiki/Intersex#Intersex_identity Wikipedia for intersex].


=== section 6.3.1.  ADR ===
=== section 6.3.1.  ADR ===
6.3.1.  ADR
6.3.1.  ADR


I think it is good that the ADR structure has been maintained from vCard3.
Just minor typos:


In practice however, the user interfaces for entering/editing address information do not correspond to the vCard ADR structure and have thus posed challenges for mapping user data to vCard ADR subproperties.
* "are the plagued with" should be "are plagued with"
* 'a "street" component' should be 'a "street address" component'


I would recommend:
=== section 6.4.1TEL ===
* deprecate post office box (keep it in the structure, but suggest an empty string)
6.4.1TEL
* deprecate extended address (keep it in the structure, but suggest an empty string)
* encourage multiline (lines delimited with the COMMA character as the draft suggests) in the "street address" subproperty, with the first line being the actual street address with number and name of street, or if there is none (e.g. in the case of a PO BOX only address), simply include the replacement that you would on a mailing label, corresponding to the "address line 1" field that we see on so many forms.
 
=== section 6.3.2LABEL ===
6.3.2LABEL


Seems unchanged from vCard3. Better to deprecate the LABEL property and add a LABEL parameter to the ADR property.
The new examples look reasonable.


=== section 6.4. Communications Properties ===
One concern, I like the "ext" parameter used in the example, but don't see how it is represented in the grammar for the property. Hopefully this is an unintended omission and the TEL property grammar can be adjusted to allow for the "ext" parameter.
6.4.  Communications Properties


Intro sentence needs to be reworded - total awkward run-on.
The problematic PREF parameter still exists. I don't expect it to work for interop/sync as specified.  


=== section 6.4.1. TEL ===
In addition the notion of PREF is badly outdated and needs to be rethought *across* different types of communications, not just among instances of a specific type of communication (e.g. what is preferred: phone vs email, not just which phone number).
6.4.1.  TEL


The change to a URI makes sense on the surface but does not from a compat perspective.
Recommend dropping PREF parameter as it is a poor design. Better not to have it than have a poor design that gives implementers backward compat headaches later.


Rather, leave TEL alone (as was in vCard3), and suggest using the URI property for TEL URIs.
=== section 6.4.2.  EMAIL ===
6.4.2.  EMAIL


Adjusting/updating the set of TYPEs for a TEL seems reasonable.
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.4.2._EMAIL remains from draft 13]:


The notion of PREF is badly outdated and needs to be rethought *across* different types of communications, not just among instances of a specific type of communication (e.g. what is preferred: phone vs email, not just which phone number).
The problematic PREF parameter still exists. I don't expect it to work for interop/sync as specified.  


=== section 6.4.2. EMAIL ===
In addition the notion of PREF is badly outdated and needs to be rethought *across* different types of communications, not just among instances of a specific type of communication (e.g. what is preferred: phone vs email, not just which phone number).
6.4.2.  EMAIL


Same comment about PREF. Good to see the useless TYPE param dropped.
Recommend dropping PREF parameter as it is a poor design. Better not to have it than have a poor design that gives implementers backward compat headaches later.


=== section 6.4.3.  IMPP ===
=== section 6.4.3.  IMPP ===
6.4.3.  IMPP
6.4.3.  IMPP


Seems like a reasonable addition, and good example of an extension being tried for a new feature before inclusion in the core.  A lesson to be applied to the genealogy properties that have been proposed.
Same problems with PREF parameter.


=== section 6.4.4.  LANG ===
=== section 6.4.4.  LANG ===
6.4.4.  LANG
6.4.4.  LANG


This also seems like a reasonable addition, based on the presence of a similar property in OpenID Attribute Exchange: openid.sreg.language
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.4.5._LANG remains from draft 13]:


I recommend using the full property name LANGUAGE instead, per re-use from OpenID.
I recommend using the full property name LANGUAGE instead, per re-use from OpenID.


The term "lang" is already a commonly used HTML attribute that appears to be similar in syntax (e.g. takes a single language-tag value) but is quite different in meaning, in that it indicates the language of the text being marked up, rather than a preference for communication.
The term "lang" is already a commonly used HTML attribute that appears to be similar in syntax (e.g. takes a single language-tag value) but is quite different in meaning, in that it indicates the language of the text being marked up, rather than a preference for communication.
=== section 6.5.  Geographical Properties ===
6.5.  Geographical Properties
This is a good intro clarifying what the properties apply to. (has been a source of confusion in vCard3 in the past)


=== section 6.5.1.  TZ ===
=== section 6.5.1.  TZ ===
6.5.1.  TZ
6.5.1.  TZ


Looks good in general, compatible with vCard3.
Issues [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.5.1._TZ remain from draft 13]:


A bit concerned about the forward-looking references to potential efforts - those don't belong in a specification.
Forward-looking references to potential efforts don't belong in a specification. E.g. "Efforts are currently being directed at creating a standard URI scheme for expressing time zone information.  Usage of such a scheme would ensure a high level of interoperability between implementations that support it."


Cardinality should be (0-1) - how can a vCard object be in multiple time zones?
Cardinality should be *1 - how can a vCard object be in multiple time zones?


=== section 6.5.2.  GEO ===
Even if it could - it would be very confusing and no guidance is provided to implementations for how to support a vCard object being in multiple time zones.
6.5.2.  GEO


Looks good in general, compatible with vCard3.
In addition, the property should drop the language about "you shouldn't use UTC offset".  


Cardinality should be (0-1) - how can a vCard object be in multiple locations?
In practice that may be quite useful ("is it the middle of the night in london right now?") and avoids all the complexity of full timezone support.


In PortableContacts we chose to ONLY allow utcOffset and and in microformats we only allow UTC offsets for datetime properties - so this is an interop issue.


It may be ok to leave in a warning, saying something like: "of course, this may not be perfectly accurate since differences in when/whether daylight saving time is observed may cause it to be off a bit" (editorial discretion accepted).


=== section 6.6Organizational Properties ===
=== section 6.5.2GEO ===
6.6Organizational Properties
6.5.2GEO
 
Minor typo in intro sentence. should be:
 
These properties are concerned with information associated with characteristics of the organization or organizational units of the object that the vCard represents.


=== section 6.6.1. TITLE ===
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.5.2._GEO remains from draft 13]:
6.6.1.  TITLE


Seems fine, compatible with vCard3.
Same cardinality issue as TZ.


=== section 6.6.2.  ROLE ===
Cardinality should be *1 - how can a vCard object be in multiple specific locations?
6.6.2.  ROLE


Seems fine, compatible with vCard3.
Even if it could - it would be very confusing and no guidance is provided to implementations for how to support a vCard object being in multiple geo locations.


=== section 6.6.3.  LOGO ===
=== section 6.6.3.  LOGO ===
6.6.3.  LOGO
6.6.3.  LOGO
Issues [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.6.3._LOGO remain from draft 13]:


In practice this property has caused confusion with respect to the PHOTO property.  Which should you use when?
In practice this property has caused confusion with respect to the PHOTO property.  Which should you use when?
Line 529: Line 358:
Recommend also providing an example with both LOGO and PHOTO that clearly demonstrates the proper/intended use of each.
Recommend also providing an example with both LOGO and PHOTO that clearly demonstrates the proper/intended use of each.


=== section 6.6.4ORG ===
=== section 6.6.5MEMBER ===
6.6.4ORG
6.6.5MEMBER


Seems fine, compatible with vCard3.
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.6.5._MEMBER remains from draft 13]:


=== section 6.6.5.  MEMBER ===
Groups should not be in vCard but rather should be in another spec/schema, or an extension at least.
6.6.5.  MEMBER


Groups should not be in vCard but rather should be in another spec/schema.
As noted in previous KIND property, the GROUP functionality has serious problems and lacks consensus - is not ready for last call.


Recommend drop this property.
Recommend drop this property.
We should cut this feature and those pursuing it can continue doing so as an extension.


=== section 6.6.6.  RELATED ===
=== section 6.6.6.  RELATED ===
6.6.6.  RELATED
6.6.6.  RELATED


This is an interesting idea that merits exploration as an extension, not part of vCard core.
This is looking much better, with the adoption of the canonical XFN vocabulary (rather than inventing a new vocabulary).
 
Also, rather than inventing another taxonomy of relationship, consider simply re-using by reference the XFN 1.1 taxonomy:


http://gmpg.org/xfn/11
I suggest also adding a note encouraging those wanting to extend it to contribute and particiate in the XFN brainstorming page.
 
And then proposing or adding support for additional terms on the XFN brainstorming page.


http://microformats.org/wiki/xfn-brainstorming
http://microformats.org/wiki/xfn-brainstorming


=== section 6.7.  Explanatory Properties ===
Sounds more like a miscellaneous section.
Organizationally I'm not sure this makes much sense.  Most of these apply to the vCard object as a whole and are perhaps identity related and could be grouped into section 6.2.


=== section 6.7.1.  CATEGORIES ===
=== section 6.7.1.  CATEGORIES ===
6.7.1.  CATEGORIES
6.7.1.  CATEGORIES


Nice to see this section/semantic upgraded to mention tags.
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.7.1._CATEGORIES remains from draft 13]:
 
Suggestion: explicitly allow URIs as text values to represent specifically scoped tags, with the last path segment of the URI representing the "keyword" of the tag, as specified by the rel-tag specification http://microformats.org/wiki/rel-tag


=== section 6.7.2.  NOTE ===
Just like TEL has been revised to accepted URL values, CATEGORIES should be as well, for the same reason.


Seems fine, compatible with vCard3.
There's an existing standard, rel-tag, that defines and encourages the use of URLs for tags/categories as a way of providing scoping/discovery/linking functionality to tags/categories.


=== section 6.7.3.  PRODID ===
Suggestion: explicitly allow URIs as text values to represent specifically scoped tags, with the last path segment of the URI representing the "keyword" of the tag, as specified by the rel-tag specification http://microformats.org/wiki/rel-tag
 
This seems fine. In practice this is not used much.
 
=== section 6.7.4.  REV ===
6.7.4.  REV
 
Seems fine, compatible with vCard3.
 
Would be nice to allow whole dates as well (without time).
 
=== section 6.7.5.  SOUND ===
6.7.5.  SOUND
 
Seems fine, compatible with vCard3.
 
=== section 6.7.6.  UID ===
6.7.6.  UID
 
Seems fine, compatible with vCard3. Nice improvement to use URI.
 
=== section 6.7.7.  CLIENTPIDMAP ===
6.7.7.  CLIENTPIDMAP
 
Lacking an example with a use-case, this property should be dropped.
 
=== section 6.7.8.  URL ===
6.7.8.  URL
 
Seems fine, compatible with vCard3.
 
==== new property ACCOUNT ====
Related suggestion:
 
PoCo has the notion of an "account" property which is a tuple of domain, username, userid. There is sufficient additional utility (above and beyond "URL") to having explicit structured account information that I propose the following new property:
 
ACCOUNT
 
Purpose: To specify the components of an account of the object the vCard represents.
 
Value type: A single structured text value. Each component can have one value.
 
Cardinality: (0-n)
 
Special note:  The structured property value corresponds, in sequence, to the domain name, username, user-id , and canonical profile URL.  The text components are separated by the SEMI-COLON character (ASCII decimal 59). This property is based on the semantics of the Portable Contacts Account property. The property SHOULD be present in the vCard object when one or more URLs for the object represent online profiles of the object.
 
The SORT-AS parameter MAY be applied to this property.
 
=== section 6.7.9.  VERSION ===
6.7.9.  VERSION
 
Seems fine, compatible with vCard3. Not used much in practice.
 
=== section 6.8.  Security Properties ===
6.8.  Security Properties
 
Seems fine.
 
=== section 6.8.1.  CLASS ===
6.8.1.  CLASS
 
In practice we have seen no use of this property in hCard.
 
I don't think it is clear how to use it, and it should be dropped from vCard4 (or at least deprecated/ignored).
 
=== section 6.8.2.  KEY ===
6.8.2.  KEY
 
This property has light use but much potential in both vCard and hCard.
 
It would be great if there were an example with PGP.


=== section 6.9.  Calendar Properties ===
=== section 6.9.  Calendar Properties ===
6.9.  Calendar Properties
6.9.  Calendar Properties
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_6.9._Calendar_Properties remains from draft 13]:


This whole section should be dropped from core and placed into an extension.
This whole section should be dropped from core and placed into an extension.


=== section 6.10.  Extended Properties and Parameters ===
6.10.  Extended Properties and Parameters
Seems about the same as vCard3.


=== section 7.  Synchronization ===
=== section 7.  Synchronization ===
7.  Synchronization
7.  Synchronization
Issue [https://wiki.mozilla.org/VCard4-draft-13-review#section_7._Synchronization remains from draft 13]:


This entire section, the PID property, and the CLIENTPIDMAP property should all be moved to an extension spec.
This entire section, the PID property, and the CLIENTPIDMAP property should all be moved to an extension spec.


=== section 8.  Example: Authors' vCards ===
8.  Example: Authors' vCards


Seems fine. Didn't review/test for vCard validity but assume the authors will do that.
== past reviews critiques proposals ==
=== draft 13 section by section review ===
Moved to separate page:


=== section 9.  Security Considerations ===
* [[VCard4-draft-13-review]]
Seems fine.  If we deprecate the CLASS property, the text referring to Section 6.8.1. should be amended.


=== section 10.  IANA Considerations ===
=== see also 2009 Joseph Smarr post ===
Seems fine as much as any other IANA-based registration assumptions/plans.
Joseph Smarr wrote about [http://josephsmarr.com/2009/03/25/portable-contacts-and-vcarddav-ietf-74/ Portable Contacts and vCardDAV (IETF 74)] on his blog in March of 2009 also covering challenges/issues around vCard4 vs PoCo.
 
Obviously 10.3.1.  Properties Registry will have to be updated as any properties are added or dropped.
 
Similarly 10.3.2.  Parameters Registry if any parameters are added/dropped.
 
10.3.3.  Value Data Types Registry no changes expected.
 
10.3.4.  Values Registries will have to be updated if/when KIND and CLASS are dropped/deprecated.
 
=== section 11.  Acknowledgements ===
11.  Acknowledgements
 
No comments.
 
=== section 12.  References ===
12.  References
 
No comments.
 
=== section Appendix A.  Differences from RFCs 2425 and 2426 ===
Appendix A.  Differences from RFCs 2425 and 2426
 
will need updates accordingly.
 
=== section Appendix B.  Change Log ===
Appendix B.  Change Log (to be removed by RFC Editor prior to publication)
 
No comments.


== related ==
== related ==
* [[Standards]]
* [[Standards]]

Latest revision as of 22:16, 10 November 2014

vCard 4 is defined by RFC6350 (text version) and was developed the vcarddav group in IETF as an update/replacement to/for vCard 3, RFC 2426.

In many ways vCard4 is a big step forward from vCard3 in terms of a standard for exchanging contact information.

Also, in some minor ways vCard4 appears to be evolving in a different direction from (and in some way incompatibly with) the nascent Portable Contacts standard, which itself evolved incrementally and fairly cleanly/compatibly from hCard which was based on vCard3.

Finally, vCard4 adds a number of features which would make much more sense as orthogonal extensions (groups, calendaring, syncing).

This page documents known vCard4 issues from our analysis of the work in progress, in comparison to hCard/vCard3 and in comparison to Portable Contacts.

Our goal is to encourage vCard4 stick to a identity-centric core, and to converge with (or at least become compatible with) Portable Contacts in order to avoid a schism in identity/profile formats on the web.

Tantek

vcarddav

The IETF VCARDDAV was formed to develop vCard4 among other things.

Mailing list:

Wiki: unknown. Unofficial vCard related wiki documentation has been maintained by microformats.org (and was incorporated as feedback into early drafts of vCard4)

current draft

vCard 4 draft 22 has been published as RFC6350 (text version)

Changes made in earlier drafts:

2010-12-09: draft 15

  • http://www.ietf.org/internet-drafts/draft-ietf-vcarddav-vcardrev-15.txt (dead link, how does one view and link to versions of IETF drafts?)

recent vcarddav meetings

IETF Vcarddav working group meetings and meeting notes

high level proposal for improving vCard4

Based on a thorough section by section review, the changes and feedback I have for vCard4 fall into a general outline as follows:

1. Explicitly state as a goal to have vCard4 be reasonably backward compatible (i.e. with current implementations) of vCard3, both syntactically, and from a schema perspective (e.g. don't mess with structure of properties like N). This kind of practical backward compat enabled publishers to start posting vCard3 even when most consuming applications still only supported vCard2.1. The presence of vCard3 data then encouraged consuming applications over time to adopt it as well. I'd like to see the same successful adoption occur for vCard4.

2. Keep the vCard4 core set of properties down to a minimum that has been well established either in:

  • Popular address book programs (e.g. ANNIVERSARY)
  • Current well adopted mature RFCs (e.g. IMPP)
  • Common additions by OpenID / Portable Contacts that have seen adoption (e.g. SEX/GENDER, LANGUAGE, ACCOUNTS)

I believe this too will encourage better vCard4 adoption.


3. Drop other new vCard4 properties/values from the core and if they seem to make sense, move them to extension specifications instead where they can prove themselves out, e.g.:

  • KIND:GROUP - vCard should not expand scope like this. For new kinds of objects new vThings should be created as iCalendar did (e.g. VGROUP), and can be, outside the vCard spec.
  • XML - obsolete bad idea. From a programmatic perspective the web has moved on from XML to JSON. See James Clark: XML vs the Web (2010-11-24)

Potential Extensions:

  • groups extension (MEMBER property, maybe a new VGROUP object)
  • sync extension (CLIENTPIDMAP, etc.)
  • calendar contact extension (FBURL, CALADRURI, CALURI)

4. Improvements to Extensions: (this subsection needs updating per the recent drafts of the genealogy extension - Tantek 23:35, 11 January 2011 (PST)) The following have been dropped from vCard4 because there is little/no implementation or real world examples of address book user interfaces using them. Nonetheless, they may be considered for development as extension specifications and as such deserve some feedback.

  • genealogy extension (BIRTH location, DEATH location, DDAY datetime of death, maybe more from GEDCOM)
    • DDAY
      • Use case: this is parallel to the existing BDAY field, and could help solve longstanding UI problems with address book entries for people who have passed away (and social network profiles as well that are memorialized).
      • ISSUE: bad name. "DDAY" already has a commonly known meaning of the Normandy Landings (usually written "D-Day". Here are some suggested alternatives
        • DECEASED - term is used in the fictional profile user interface of a government accounting department in the movie "Hackers". And even though this is a fictional example (there are others, like in the movie "Amelie" a scene is shown where a weeping gentleman is erasing a recently deceased friend from his address book).
      • ISSUE: No real world implementation. There is no documentation of any basis for inclusion based on existing address book features / interfaces.
    • DEATH - death location (this is not their grave location, but rather the place they died)
      • ISSUE: Lack of address book use case. What is the use case for keeping track of other people's death locations in your address book?
      • ISSUE: bad name, too generic, this property is poorly worded. What does genealogy software currently use for the label for the location of death? (assuming any genealogy software actually supports that - which should be documented)
        • maybe something like DLOCATION - using D prefix and reusing LOCATION property from iCalendar - would be better.
    • BIRTH
      • ISSUE: Lack of address book use case. What is the use case for keeping track of other people's birth locations in your address book?
      • ISSUE: again bad name, too generic, this property is poorly worded. What does genealogy software currently use for the label for the location of birth? (assuming any genealogy software actually supports that - which should be documented)
        • maybe something like BLOCATION - reusing B prefix from BDAY and LOCATION property from iCalendar - would be better
      • ISSUE: impacts security. some sites use birth location as a pseudo-security question/answer.

issues

This is a rough list of issues that is incomplete.

Please see the section by section review below that has both a much more detailed and comprehensive coverage of the problems in the current vCard4 draft 15 with suggestions for improvement too.

divergence from GENDER proposal

  • GENDER property as proposed in feedback on draft 13 included 2 components, an enum and an plain text field. draft 15 GENDER property is only a single plain text field.
  • Summary of previous proposal:
    • SEX - biological value (enum: (M)ale, (F)emale, (O)ther, (N)one, (U)nknown)
    • GENDER - gender identity value (a string)

other properties and problems

  • KIND property - this seems like the wrong way to add new data types. vCard4 appears to be extended to represent (in addition to people and organizations)
    • a group (of vCard items)
    • opinion: -1 - this seems like a bad way to extend type information. shoehorning all types of objects into being "vCards" seems like a really bad design decision. the MIME/Content type mechanism should be used instead. e.g. create a vGroup and vThing if necessary instead. it is also unnecessary for differentiating a person vs organization - that is organization is already inferred by FN == ORG. thus vCard4 should drop this property. Tantek 18:36, 14 August 2010 (PDT)

other new properties that should go into extension instead

The following new properties should not be in core vCard and should be considered for extensions instead.

Groups extension:

  • MEMBER - related to GROUPs
  • perhaps a new VGROUP object

Synchronization extension:

  • CLIENTPIDMAP
  • PID paramater

Calendar contact extension:

  • FBURL
  • CALADRURI
  • CALURI

draft 15 section by section review

section 5.6

5.6. TYPE

Same issue(s) as draft 13 section 5.7. No specific comments. General comment - type seems like a catch-all of sorts - not very well designed. Some of the uses are quite flawed. E.g. the notions of "work" and "home" have not worked well in practice. In particular "work" doesn't make much sense given that there is an "ORG" property with which any work email/phone/address should be associated, rather than just implied.

section 6.1.4. KIND

6.1.4. KIND

While not the best of ideas, the introduction of this somewhat meta-property may be inevitable to at least distinguish between the existing real world uses and implementations of vCards for organizations, people, and places.

I still object to: GROUP

GROUP should be dropped from 6.1.4 KIND. It may make sense as an extension (similar to LIST and ROBOT suggested by Kevin Marks).

2010-12-20 email sent to vcarddav list accordingly.

Lots of follow-up on the list and disagreement - no conclusion/consensus.

KIND:GROUP and the entire GROUP feature is premature and not ready for a last call.

section 6.1.5. XML

6.1.5. XML

While it has been clarified that this property is NOT for duplicating any vCard properties/values, this still seems like a bit of a hack.

There haven't been sufficient real world use cases presented to justify this property.

What precise (end user scenario) problem is it necessary to (help) solve?

Frankly, this looks like a hack for a specific implementation and not something that belongs in this generic spec.

For instance, people might be using all kinds of other data around contact info but it's not vCard's job to provide some place to stick it.

You could always invent your own X-STORED-EXTRA-DATA field.

Such proprietary data is unlikely to be interoperable anyway, therefore we shouldn't pretend to make it superficially look like it by putting in a specific property for it. Better to leave implementations to use their own opaque proprietary properties for proprietary extensions.

Also, this property will be very confusing to new implementers who may either not even be aware of or not care about the XML serialization, let alone a need to round-trip it thru this format (c.f. XML is dead on the web, killed by JSON at least for APIs. For formats/documents, HTML(5)+microformats have handily beat XML on the Web).

Recommendation: DROP XML property, and encourage implementers who think they need it or want to implement to propose an extension instead.

section 6.2.1. FN

6.2.1. FN

Issue remains from draft 13:

This property has changed from requiring a single instance in vCard3 to requiring one or more instances in vCard4.

There is no advice/guidance/example given regarding how to treat multiple FNs and thus I fear this new capability may introduce some interoperability problems.

I suggest some wording and examples clarifying what the purpose may be for multiple FNs, e.g. multiple ways of displaying a name (perhaps some with additional names, some without), or multiple ways (character sets? languages?) to write a name (e.g. a Japanese name may be written with Kanji or transliterated Hiragana).

section 6.2.5. BDAY

6.2.5. BDAY

Issue remains from draft 13:

The expansion of permitting month-day only or year only are both very good and allowing text based "circa" dates is interesting as well. Would also suggest permitting year-month as well, e.g. 1996-04

Recommend updating examples to:

Examples:

             BDAY:19960415
             BDAY:1996-04
             BDAY:--0415
             BDAY;19531015T231000Z
             BDAY;VALUE=text:circa 1800

and make any updates to the grammar as needed.

section 6.2.6. ANNIVERSARY

6.2.9. ANNIVERSARY

Issue remains from draft 13:

Should allow same date-and-or-time data type as BDAY, including year-only, month-day, year-month etc.

Recommend updating examples to:

Examples:

             ANNIVERSARY:19960415
             ANNIVERSARY:1996-04
             ANNIVERSARY:--0415
             ANNIVERSARY;19531015T231000Z
             ANNIVERSARY;VALUE=text:circa 1800

section 6.2.7. GENDER

Overall this is a big improvement over the previous "SEX" property.

However, it appears the feedback/proposal for the GENDER property was mistinterpreted or unintentionally oversimplified to a single text string.

This is insufficient. Here is the proposal again, updated with new conventions for the current draft.

GENDER

Purpose: To specify the components of the sex and gender identity of the object the vCard represents.

Value type: A single structured text value. Each component can have a single value.

Cardinality: *1

Special notes: The structured property value corresponds, in sequence, to the sex (biological), and (optional) gender identity. The text components are each optional and separated by the SEMI-COLON character (ASCII decimal 59).

Sex component: The value M stands for "male", F stands for "female", O stands for "other", N stands for "none or not applicable", U stands for "unknown".

Gender identity component: a single text value.

Gender property examples:

Examples:
             GENDER:M 
             GENDER:F 
             GENDER:M;Fellow 
             GENDER:F;Bird 
             GENDER:O;intersex 
             GENDER:;queer 

When you might you see the 'N' value for the sex component, and organization for example:

Examples
             BEGIN:VCARD
             FN:IETF
             ORG:IETF
             KIND:org
             GENDER:N
             END:VCARD

Notes:

The examples of "Fellow" and "Bird" are taken from the actual user interface of Digg, and see Wikipedia for intersex.

section 6.3.1. ADR

6.3.1. ADR

Just minor typos:

  • "are the plagued with" should be "are plagued with"
  • 'a "street" component' should be 'a "street address" component'

section 6.4.1. TEL

6.4.1. TEL

The new examples look reasonable.

One concern, I like the "ext" parameter used in the example, but don't see how it is represented in the grammar for the property. Hopefully this is an unintended omission and the TEL property grammar can be adjusted to allow for the "ext" parameter.

The problematic PREF parameter still exists. I don't expect it to work for interop/sync as specified.

In addition the notion of PREF is badly outdated and needs to be rethought *across* different types of communications, not just among instances of a specific type of communication (e.g. what is preferred: phone vs email, not just which phone number).

Recommend dropping PREF parameter as it is a poor design. Better not to have it than have a poor design that gives implementers backward compat headaches later.

section 6.4.2. EMAIL

6.4.2. EMAIL

Issue remains from draft 13:

The problematic PREF parameter still exists. I don't expect it to work for interop/sync as specified.

In addition the notion of PREF is badly outdated and needs to be rethought *across* different types of communications, not just among instances of a specific type of communication (e.g. what is preferred: phone vs email, not just which phone number).

Recommend dropping PREF parameter as it is a poor design. Better not to have it than have a poor design that gives implementers backward compat headaches later.

section 6.4.3. IMPP

6.4.3. IMPP

Same problems with PREF parameter.

section 6.4.4. LANG

6.4.4. LANG

Issue remains from draft 13:

I recommend using the full property name LANGUAGE instead, per re-use from OpenID.

The term "lang" is already a commonly used HTML attribute that appears to be similar in syntax (e.g. takes a single language-tag value) but is quite different in meaning, in that it indicates the language of the text being marked up, rather than a preference for communication.

section 6.5.1. TZ

6.5.1. TZ

Issues remain from draft 13:

Forward-looking references to potential efforts don't belong in a specification. E.g. "Efforts are currently being directed at creating a standard URI scheme for expressing time zone information. Usage of such a scheme would ensure a high level of interoperability between implementations that support it."

Cardinality should be *1 - how can a vCard object be in multiple time zones?

Even if it could - it would be very confusing and no guidance is provided to implementations for how to support a vCard object being in multiple time zones.

In addition, the property should drop the language about "you shouldn't use UTC offset".

In practice that may be quite useful ("is it the middle of the night in london right now?") and avoids all the complexity of full timezone support.

In PortableContacts we chose to ONLY allow utcOffset and and in microformats we only allow UTC offsets for datetime properties - so this is an interop issue.

It may be ok to leave in a warning, saying something like: "of course, this may not be perfectly accurate since differences in when/whether daylight saving time is observed may cause it to be off a bit" (editorial discretion accepted).

section 6.5.2. GEO

6.5.2. GEO

Issue remains from draft 13:

Same cardinality issue as TZ.

Cardinality should be *1 - how can a vCard object be in multiple specific locations?

Even if it could - it would be very confusing and no guidance is provided to implementations for how to support a vCard object being in multiple geo locations.

6.6.3. LOGO

Issues remain from draft 13:

In practice this property has caused confusion with respect to the PHOTO property. Which should you use when?

Also, why is this included in the Organizational Properties section rather than alongside PHOTO?

If there is a more specific semantic to be applied, e.g. this is the LOGO for the organization that the person the vCard object represents works for, then that specific semantic should be explicitly mentioned.

Recommend also providing an example with both LOGO and PHOTO that clearly demonstrates the proper/intended use of each.

section 6.6.5. MEMBER

6.6.5. MEMBER

Issue remains from draft 13:

Groups should not be in vCard but rather should be in another spec/schema, or an extension at least.

As noted in previous KIND property, the GROUP functionality has serious problems and lacks consensus - is not ready for last call.

Recommend drop this property.

We should cut this feature and those pursuing it can continue doing so as an extension.

section 6.6.6. RELATED

6.6.6. RELATED

This is looking much better, with the adoption of the canonical XFN vocabulary (rather than inventing a new vocabulary).

I suggest also adding a note encouraging those wanting to extend it to contribute and particiate in the XFN brainstorming page.

http://microformats.org/wiki/xfn-brainstorming


section 6.7.1. CATEGORIES

6.7.1. CATEGORIES

Issue remains from draft 13:

Just like TEL has been revised to accepted URL values, CATEGORIES should be as well, for the same reason.

There's an existing standard, rel-tag, that defines and encourages the use of URLs for tags/categories as a way of providing scoping/discovery/linking functionality to tags/categories.

Suggestion: explicitly allow URIs as text values to represent specifically scoped tags, with the last path segment of the URI representing the "keyword" of the tag, as specified by the rel-tag specification http://microformats.org/wiki/rel-tag

section 6.9. Calendar Properties

6.9. Calendar Properties

Issue remains from draft 13:

This whole section should be dropped from core and placed into an extension.


section 7. Synchronization

7. Synchronization

Issue remains from draft 13:

This entire section, the PID property, and the CLIENTPIDMAP property should all be moved to an extension spec.


past reviews critiques proposals

draft 13 section by section review

Moved to separate page:

see also 2009 Joseph Smarr post

Joseph Smarr wrote about Portable Contacts and vCardDAV (IETF 74) on his blog in March of 2009 also covering challenges/issues around vCard4 vs PoCo.

related