[JDEV] Problem with vCard Docs/Usage

eliot landrum eliot at landrum.cx
Tue May 22 15:23:46 CDT 2001


Hello All..

Not to worry, I've already shot myself so that JDEV flames can't hurt 
me... I'm afraid that I've found a long-standing conflict between Jabber 
docs and the vCard DTD. In the examples of vCard usage, it says that the 
version is 3.0, e.g.:

<iq type="set" id="foo">
     <vCard xmlns="vcard-temp" version="3.0">
         ...
     </vCard>
</iq>

However, the DTD that we have been using is actually version 2.0. 
Version 3.0 is a very different DTD that uses attributes and lowercase 
elements. It was proposed by the original authors a couple of years ago 
to the IETF. Like 2.0, it died with little alarm.

At any rate, all of Jabber is using the 2.0 structure, whether it says 
3.0 or 2.0.

This is going to cause some real fun when we update the spec. We may 
just have to jump to 4.0 or something. Not sure about that.. maybe since 
we'll be changing the namespace from vcard-temp to 
http://www.vcard-xml.org, we'll be alright. Time will tell.

May apologies for this nasty issue.

-- 
Eliot Landrum
eliot at landrum.cx
GnuPG ID: 8F5B499E

-Soli Deo Gloria-




More information about the JDev mailing list