vcard-errata: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
m (Replace <entry-title> with {{DISPLAYTITLE:}})
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
= vCard errata =
{{DISPLAYTITLE: vCard errata }}


In the development of [[hcard|hCard]] and proxies like X2V, we have discovered various details of RFC 2426 vCard that appear to be mistakes.  Thus we are documenting them here as we find them, organized by RFC 2426 section number.
In the development of [[hcard|hCard]] and proxies like X2V, we have discovered various details of [[RFC2426]] vCard that appear to be mistakes.  Thus we are documenting them here as we find them, organized by [[RFC2426]] section number.
 
== Author(s) ==
* Tantek Çelik


; Editor: Tantek Çelik


== Errata ==
== Errata ==
Line 11: Line 9:
=== 2.2 Predefined Type Parameter Usage ===
=== 2.2 Predefined Type Parameter Usage ===


# 2005-11-24 by [http://tantek.com/log/ Tantek Çelik]
# 2005-11-24 by [http://tantek.com/ Tantek Çelik]


Just after this block:
Just after this block:
Line 32: Line 30:
</nowiki></pre>
</nowiki></pre>


=== 3.6.7 UID Type Definition ===
# 2007-09-08 by [http://tantek.com/ Tantek Çelik] based on [http://microformats.org/wiki?title=uid&diff=21212&oldid=21211 issue raised by Andy Mabbett 11:10, 7 Sep 2007].
[[RFC2426]] says [note inserted text for clarification].
<pre><nowiki>
  The [UID] type can include the type parameter "TYPE" to specify the format
  of the identifier. The TYPE parameter value should be an IANA
  registered identifier format. The value can also be a non-standard
  format.
</nowiki></pre>
Note that a search of the IANA website as of 11:10, 7 Sep 2007 finds no occurrences of "identifier format", therefore there is no way to comply with the "should" sentence in the above-quoted portion of section 3.6.7.  Since the statement is only a "should", thus content {{may}} ignore it, and there is no way to comply with the "should",  the simplest errata is to drop the impossible "should" statement, and remove the word "also" from the following sentence, as follows:
<pre><nowiki>
  The [UID] type can include the type parameter "TYPE" to specify the format
  of the identifier. The value can be a non-standard format.
</nowiki></pre>
# 2008-01-14 by [http://PetesGuide.com/ Peter Sheerin]
I too have failed to find any reference to "registered itentifier format", and believe that sentence was intended to indicate that any IANA (MIME type) type of identifier, whereas most of the types referenced in the RFC are confined to one branch (image for photo and logo, audio for sound, etc.). However, I can find no obvious IANA MIME type appropriate for a UID. There is an RFC for a UUID, however. RFC 4122 describes the procedure for generating a globally unique 128-bit UID, using time, MAC address, and a few other things. Perhaps vCard should reference this?


=== 5.  Differences From vCard v2.1 ===
=== 5.  Differences From vCard v2.1 ===


# 2005-11-24 by [http://tantek.com/log/ Tantek Çelik]
# 2005-11-24 by [http://tantek.com/ Tantek Çelik]  


RFC 2426 says:
[[RFC2426]] says:


<pre><nowiki>
<pre><nowiki>
Line 45: Line 66:
</nowiki></pre>
</nowiki></pre>


We believe this to have been a mistake, note in particular that section 1. of RFC 2426 explicitly states that the CHARSET parameter is one of the "Predefined MIME Directory parameters" that is "used".  We believe that statement in section 1. of RFC 2426 to be '''correct'''.
We believe this to have been a mistake, note in particular that section 1. of [[RFC2426]] explicitly states that the CHARSET parameter is one of the "Predefined MIME Directory parameters" that is "used".  We believe that statement in section 1. of [[RFC2426]] to be '''correct'''.


The most obvious proof of why this is needed is when a vCard .vcf file is stored on and retrieved from  a local file-system, you obviously cannot depend on the Content-Type MIME (or HTTP) header field, nor can you assume that the operating system will keep character set metadata about the file in some other location.
The most obvious proof of why this is needed is when a vCard .vcf file is stored on and retrieved from  a local file-system, you obviously cannot depend on the Content-Type MIME (or HTTP) header field, nor can you assume that the operating system will keep character set metadata about the file in some other location.
Line 54: Line 75:
# make the change to section 2.2 as noted above.
# make the change to section 2.2 as noted above.


== external resources ==
* [http://www.imc.org/imc-vcard/ vCard mailing list] - a place to raise these issues, and where similar issues can be found.


 
== See Also ==
 
* [[vcard-suggestions]]
 
* [[vcard-implementations]]
 
* [[vCard4]]
 
* [[hcard|hCard]]
 
 
 
 
<div  style="display:none">
[We are delicate. We do not delete your content.]
[l_sp20]
 
 
[http://www.buddyprofile.com/viewprofile.php?username=waterfordcrystal waterford crystal]
[http://www.buddyprofile.com/viewprofile.php?username=swarovskicrystal swarovski crystal bead]
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomalawsuits mesothelioma lawsuits]
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomasymptoms mesothelioma symptoms]
[http://www.buddyprofile.com/viewprofile.php?username=mesotheliomadiag mesothelioma diagnosis]
[http://www.buddyprofile.com/viewprofile.php?username=wacoalbras wacoal bras]
[http://www.buddyprofile.com/viewprofile.php?username=teenbra teen bra]
[http://www.buddyprofile.com/viewprofile.php?username=unsecuredloan unsecured signature loan]
[http://www.buddyprofile.com/viewprofile.php?username=homeloans Countrywide Home Loans]
[http://blog.moddingplanet.it/?w=formalpromdresses Formal Prom Dresses]
[http://blog.moddingplanet.it/?w=sexypromdress Sexy Prom Dress]
[http://blog.moddingplanet.it/?w=cocktaildresses cocktail dresses]
[http://www.buddyprofile.com/viewprofile.php?username=telmobile TMobile]
[http://www.buddyprofile.com/viewprofile.php?username=watersoftener water softener]
[http://www.buddyprofile.com/viewprofile.php?username=tanklesswaterheater tankless water heater]
[http://www.buddyprofile.com/viewprofile.php?username=rockportshoes rockport shoes]
[http://www.buddyprofile.com/viewprofile.php?username=osmosiswaterfilter reverse osmosis water filter]
[http://www.buddyprofile.com/viewprofile.php?username=merrellshoes merrell shoes]
[http://www.buddyprofile.com/viewprofile.php?username=oscardresses oscar dresses]
[http://www.buddyprofile.com/viewprofile.php?username=easterdresses easter dresses]
[http://flyfone.blox.pl/resource/flyfonevoip.htm flyfone voip]
[http://www.buddyprofile.com/viewprofile.php?username=plussizepromdresses plus size prom dresses]
[http://www.buddyprofile.com/viewprofile.php?username=discountpromdresses discount prom dresses]
[http://blog.moddingplanet.it/?w=hooterscasinolas Hooters Casino Las Vegas]
[http://blog.moddingplanet.it/?w=grandcasinomille grand casino mille lacs]
[http://blog.moddingplanet.it/?w=lasvegascasino las vegas casino coupons]
[http://blog.moddingplanet.it/?w=onlinepokeraide online poker aide]
[http://www.donx.de/blog/pechangacasino pechanga casino]
[http://www.donx.de/blog/grandvictoriacasino/ grand victoria casino]
[http://www.donx.de/blog/ballgowns/ ball gowns]
[http://www.privetparis.com/blog/rtgcasinobonus/ rtg casino bonus]
 
[http://blog.moddingplanet.it/?w=rtgcasinobonus rtg casino bonus]
[http://blog.moddingplanet.it/?w=grandcasinocoushat grand casino coushatta]
[http://blog.moddingplanet.it/?w=grandcasinohinckle grand casino hinckley]
[http://blog.moddingplanet.it/?w=isleofcapricasino isle of capri casino]
[http://blog.moddingplanet.it/?w=mohegansuncasino mohegan sun casino]
[http://blog.moddingplanet.it/?w=palacasino pala casino]
[http://blog.moddingplanet.it/?w=roulettewheels roulette wheels]
[http://blog.moddingplanet.it/?w=winstarcasino winstar casino]
[http://blog.moddingplanet.it/?w=cheappromdresses Cheap Prom Dresses]
[http://blog.moddingplanet.it/?w=informalweddingdre informal wedding dresses]
[http://blog.moddingplanet.it/?w=oscardresses oscar dresses]
[http://blog.moddingplanet.it/?w=eveninggowns evening gowns]
 
[http://vvvvvv.blox.pl/resource/throat_pokers.htm throat pokers]
[http://vvvvvv.blox.pl/resource/online_poker_assistant.htm online poker assistant]
[http://vvvvvv.blox.pl/resource/online_poker_tracker.htm online poker tracker]
[http://vvvvvv.blox.pl/resource/online_poker_aide.htm online poker aide]
[http://vvvvvv.blox.pl/resource/party_poker_bonus.htm party poker bonus]
[http://vvvvvv.blox.pl/resource/party_poker_bonus_code.htm party poker bonus code]
[http://vvvvvv.blox.pl/resource/bonus_code_party_poker.htm bonus code party poker]
[http://vvvvvv.blox.pl/resource/bonus_code_deposit_party_poker.htm bonus code deposit party poker]
[http://vvvvvv.blox.pl/resource/party_poker_bonus_codes.htm party poker bonus codes]
[http://vvvvvv.blox.pl/resource/carnival_cruises.htm carnival cruises]
[http://vvvvvv.blox.pl/resource/carnival_game_rentals.htm carnival game rentals]
[http://vvvvvv.blox.pl/resource/fuzzydice.htm fuzzy dice]
[http://vvvvvv.blox.pl/resource/bingodaubers.htm bingo daubers]
[http://vvvvvv.blox.pl/resource/bingoblowers.htm bingo blowers]
[http://vvvvvv.blox.pl/resource/motor_scooters.htm motor scooters]
[http://vvvvvv.blox.pl/resource/mini_harley_chopper_scooter.htm mini harley chopper scooter]
[http://blog.moddingplanet.it/?w=fakerolex fake rolex]
 
[http://blog.moddingplanet.it/?w=bextravioxx bextra vioxx]
[http://blog.moddingplanet.it/?w=zocor zocor]
[http://blog.moddingplanet.it/?w=zithromax zithromax]
[http://blog.moddingplanet.it/?w=bextralawyernew bextra lawyer new hampshire]
[http://blog.moddingplanet.it/?w=akanesoma akane soma]
[http://blog.moddingplanet.it/?w=kyosoma kyo soma]
[http://blog.moddingplanet.it/?w=prozacnation prozac nation]
[http://blog.moddingplanet.it/?w=prozacwithdrawal prozac withdrawal]
[http://blog.moddingplanet.it/?w=simslots sim slots]
[http://blog.moddingplanet.it/?w=pachisloslotmachine pachislo slot machines]
[http://blog.moddingplanet.it/?w=programcherries program cherries wild slot machine]
[http://blog.moddingplanet.it/?w=slotcarracing slot car racing]
[http://blog.moddingplanet.it/?w=hoslotcars ho slot cars]
http://www.vinniky.org.ua/upload/index.php?action=downloadfile&filename=discount-paxil.html
 
[http://blog.moddingplanet.it/?w=bingocages bingo cages]
[http://blog.moddingplanet.it/?w=bingodaubers bingo daubers]
[http://blog.moddingplanet.it/?w=bingoblowers bingo blowers]
[http://blog.moddingplanet.it/?w=bingobags bingo bags]
[http://blog.moddingplanet.it/?w=baccaratcrystal baccarat crystal]
[http://blog.moddingplanet.it/?w=nexium nexium]
[http://blog.moddingplanet.it/?w=onlinepaigowpoker online pai gow poker]
[http://blog.moddingplanet.it/?w=leighkeno leigh keno]
</div>

Latest revision as of 16:34, 18 July 2020


In the development of hCard and proxies like X2V, we have discovered various details of RFC2426 vCard that appear to be mistakes. Thus we are documenting them here as we find them, organized by RFC2426 section number.

Editor
Tantek Çelik

Errata

2.2 Predefined Type Parameter Usage

  1. 2005-11-24 by Tantek Çelik

Just after this block:

   The vCard MIME Directory Profile uses the following predefined type
   parameters as defined by [MIME-DIR].

insert this:

        - CHARSET


just before this:

        - LANGUAGE


3.6.7 UID Type Definition

  1. 2007-09-08 by Tantek Çelik based on issue raised by Andy Mabbett 11:10, 7 Sep 2007.

RFC2426 says [note inserted text for clarification].

   The [UID] type can include the type parameter "TYPE" to specify the format
   of the identifier. The TYPE parameter value should be an IANA
   registered identifier format. The value can also be a non-standard
   format.

Note that a search of the IANA website as of 11:10, 7 Sep 2007 finds no occurrences of "identifier format", therefore there is no way to comply with the "should" sentence in the above-quoted portion of section 3.6.7. Since the statement is only a "should", thus content MAY ignore it, and there is no way to comply with the "should", the simplest errata is to drop the impossible "should" statement, and remove the word "also" from the following sentence, as follows:

   The [UID] type can include the type parameter "TYPE" to specify the format
   of the identifier. The value can be a non-standard format.
  1. 2008-01-14 by Peter Sheerin

I too have failed to find any reference to "registered itentifier format", and believe that sentence was intended to indicate that any IANA (MIME type) type of identifier, whereas most of the types referenced in the RFC are confined to one branch (image for photo and logo, audio for sound, etc.). However, I can find no obvious IANA MIME type appropriate for a UID. There is an RFC for a UUID, however. RFC 4122 describes the procedure for generating a globally unique 128-bit UID, using time, MAC address, and a few other things. Perhaps vCard should reference this?

5. Differences From vCard v2.1

  1. 2005-11-24 by Tantek Çelik

RFC2426 says:

        . The [VCARD] CHARSET type parameter has been eliminated.
          Character set can only be specified on the CHARSET parameter
          on the Content-Type MIME header field.

We believe this to have been a mistake, note in particular that section 1. of RFC2426 explicitly states that the CHARSET parameter is one of the "Predefined MIME Directory parameters" that is "used". We believe that statement in section 1. of RFC2426 to be correct.

The most obvious proof of why this is needed is when a vCard .vcf file is stored on and retrieved from a local file-system, you obviously cannot depend on the Content-Type MIME (or HTTP) header field, nor can you assume that the operating system will keep character set metadata about the file in some other location.

Thus it is critical that the CHARSET parameter be reused from MIME-DIR. This requires:

  1. delete the above quoted bullet item from section 5.
  2. make the change to section 2.2 as noted above.

external resources

  • vCard mailing list - a place to raise these issues, and where similar issues can be found.

See Also