[JDEV] Weird: email getting deleted from Jabber vCard

Jens Alfke jens at mac.com
Mon Sep 17 17:11:31 CDT 2001


I've just found that the email address gets lost when I retrieve a 
Jabber vCard. On one of my machines I send the following to set the card:

<iq type="set" id="00000002" to="snej at myserver.com">
<vCard xmlns="vcard-temp" version="3.0" prodid="-//HandGen//NONSGML vGen 
v1.0//EN">
<FN>sneJ Alfke</FN>
<N>
<GIVEN>sneJ</GIVEN>
<FAMILY>Alfke</FAMILY>
</N>
<EMAIL>
<INTERNET/>
<PREF/>
jens at mac.com</EMAIL>
</vCard>
</iq>

On the other machine (logged in as a different account) when I retrieve 
the vCard I get the following:

<iq type='result' id='00000007' to='jens at myserver.com/Work' 
from='snej at myserver.com'>
<vCard xmlns='vcard-temp' version='3.0' prodid='-//HandGen//NONSGML vGen 
v1.0//EN'>
<FN>sneJ Alfke</FN>
<N>
<GIVEN>sneJ</GIVEN>
<FAMILY>Alfke</FAMILY>
</N>
<EMAIL>
<INTERNET/>
<PREF/>
</EMAIL>
</vCard></iq>

You'll note that the vCard content is identical except that the email 
address itself is missing. These are exact transcripts I just pasted in 
from my client's XML log, so it definitely looks like the server's 
fault. Why would this be happening? Anyone else seen this?

--Jens




More information about the JDev mailing list