Skip to content

No space is allowed between BEGIN: and vcard according to RFC2426 #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
VCARDs generated by ez-vcard 0.1.1 cannot be opened by some applications 
(tested with Kontact 4.4.8).

When I change the first line, removing the whitespace, "BEGIN: vcard" to 
"BEGIN:vcard", it works.

Snippit of the RFC2426 VCARD grammar:
########## BEGIN ############
   vcard        = [group "."] "BEGIN" ":" "VCARD" 1*CRLF
                  1*(contentline)
        ;A vCard object MUST include the VERSION, FN and N types.
                  [group "."] "END" ":" "VCARD" 1*CRLF
########### END #############

No space is allowed between ":" and "VCARD".
I'm not sure if lowercase "vcard" is allowed either.

Original issue reported on code.google.com by knuto...@gmail.com on 6 Aug 2012 at 8:47

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions