Menu

#65 allow for incomplete N property values

Alpha (0.9.x)
closed-accepted
vCard (11)
5
2010-04-11
2010-04-06
No

Users of Aperture framework have encountered vcf files with following N property values:

N;LANGUAGE=en-us:Mylka;Antoni;;Mr.

The problem here is that a name is composed from five components (family name SEMICOLON given name SEMICOLON comma-separated additional names SEMICOLON comma-separated prefixes SEMICOLON comma-separated suffixes). In this case there are only four. The RFC states that a missing component should be denoted by an empty semicolon. Outlook doesn't follow this rule and truncates empty components at the end of the line. (the same occurs in ADR, as exemplified by the file I submitted to the 2978880 issue)

The attached patch allows for such files to be parsed correctly in relaxed parsing mode.

Discussion

  • Antoni Mylka

    Antoni Mylka - 2010-04-06
     
  • Ben Fortuna

    Ben Fortuna - 2010-04-11

    Thanks Antoni, patch applied and available in CVS.

     
  • Ben Fortuna

    Ben Fortuna - 2010-04-11
    • labels: --> vCard
    • milestone: --> Alpha (0.9.x)
    • assigned_to: nobody --> fortuna
    • status: open --> closed-accepted
     

Log in to post a comment.