Hi, On Fri, Oct 31, 2008 at 09:17, Adam Williamson <[EMAIL PROTECTED]> wrote: > Resurrecting this old thread, I would like to note that one of Pawel's > changes appears to be bogus. He changes Type='HOME' and Type='VOICE' to > Type='HOME' and Type!='FAX' and Type='WORK' and Type='VOICE' to > Type='WORK' and Type!='FAX' , which is fine, and seems to fix the > problem he was trying to address (and that I also ran into, with > Blackberries). However, his .xsl has the following, further difference > from the current one in synce itself. It adds: > > <C1:MobilePhoneNumber> > <xsl:value-of select="Telephone[Type='VOICE']/Content"/> > </C1:MobilePhoneNumber> > > underneath: > > <C1:MobilePhoneNumber> > <xsl:value-of select="Telephone[Type='CELL']/Content"/> > </C1:MobilePhoneNumber> > > this appears to have the effect of over-riding the CELL entry > completely, so with Pawel's version, *only* Tel entries with the type > VOICE will get written as MobilePhoneNumber. Tel entries with the type > CELL don't get written at all, as far as I can tell.
Yes. That is correct. I was not aware that only one MobilePhoneNumber will be present in the resulting XML. However I don't know which phone number type should be referred by VOICE. > I had a ton of contacts in Evolution whose cellphone numbers were lost > when I sync'ed to my new WM phone, because I was using Pawel's > contact-to-airsync.xml. When I reverted this last change, the cell > numbers synced properly. So that change is bogus, I think. Well, I can confirm that. Fortunately I had just few entries marked as CELL but some week ago I realized that I don't have a numer that I wanted to use. And it turned out that it indeed was a number marked as CELL on 6230i. So, Adam is right. this part of the XSD file is incorrect. Is there any list of possible phone types available? Or better: how is it possible to add to a contact two phone numbers of type CELL? take care, -- Pawel Kot ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ SynCE-Devel mailing list SynCE-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/synce-devel