Ticket #675 (assigned defect)

Opened 7 months ago

Last modified 2 weeks ago

XML formats do not distinguish between voice and fax numbers

Reported by: jagow Assigned to: cstender (accepted)
Priority: highest Milestone: 0.39
Component: Plugin: vformat Version:
Severity: normal Keywords:
Cc:

Description

This problem was discovered with recent SVN versions of Opensync 0.3x during development of the SynCE plugin for WM5 and above.

Conversion path: Evo2 plugin -> vformat -> xml-doc

If an entry is created in the Evolution addressbook filling, for example the 'Business Phone' and 'Business Fax' field, there is no way to distinguish between the voice and fax numbers in the resulting XML. See below:

Evolution: The following fields were filled:

Business phone: '0116 workphone' Home phone: '0116 homephone' Mobile phone: '0116 cellphone' Business fax: '0116 workfax'

The important part of the XML at the output is:

  <Telephone UI-Slot="4" Location="Work">
    <Content>0116 Workfax</Content>
  </Telephone>
  <Telephone UI-Slot="3" Type="Cellular">
    <Content>0116 cellphone</Content>
  </Telephone>
  <Telephone UI-Slot="2" Location="Home">
    <Content>0116 homephone</Content>
  </Telephone>
  <Telephone UI-Slot="1" Location="Work">
    <Content>0116 workphone</Content>
  </Telephone>

This is ambiguous - I can't convert this to Airsync reliably as I can not discriminate between phone and fax. Suggest that the 'Type' attribute is filled appropriately for all 'Telephone' elements.

Change History

02/14/08 13:09:02 changed by cstender

  • status changed from new to assigned.
  • milestone set to OpenSync 0.40.

02/26/08 16:27:27 changed by cstender

  • priority changed from normal to highest.

Yes, you're right. There should be a type parameter. I'll look at it but can't promise any ETA since there are some more bugs with type parameter handler in xmlformat-vcard.c code.

07/30/08 18:04:05 changed by tuju

  • milestone changed from 0.40 to 0.38.

08/21/08 16:22:53 changed by tuju

  • milestone changed from 0.38 to 0.39.

vformat will get more attention in 0.39.