Summary: | text/x-vcard should be preferred over text/directory | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Marius Vollmer <marius.vollmer> |
Component: | freedesktop.org.xml | Assignee: | Shared Mime Info group <shared_mime_info> |
Status: | RESOLVED MOVED | QA Contact: | |
Severity: | enhancement | ||
Priority: | medium | CC: | jylee, mathias.hasselmann |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Use text/x-vcard instead of text/directory for VCards. |
Description
Marius Vollmer
2009-05-11 07:53:49 UTC
Here I am. Well, I also don't know the decision process about making "text/directory" the default in freedesktop.org.xml, but as Marius pointed out, this change causes interoperability problems. Initially with vCard 2.1 the MIME type "text/x-vcard" was proposed [1]. Later with vCard 3.0 the proposed MIME type got changed to "text/directory". It seems that only the old "text/x-vcard" type got wide adoption. For instance MS Windows uses this type, just checked this on Windows Vista right now. Exchanging business cards via Bluetooth also uses version 2.1 of the vCard standard. It's also to consider, that each proper application supporting vCard 3.0, and therefore registering as handler for "text/directory", should be backward compatible with vCard 2.1 and therefore know about the "old" MIME type "text/x-vcard". The reverse assumption doesn't hold, as applications written with only vCard 2.1 in mind hardly can know about vCard 3.0. Take OBEX as example which is widly used, but specified before vCard 3.0 was published. [1] http://www.imc.org/pdi/pdiproddev.html [2] http://www.ietf.org/rfc/rfc2425.txt jrb: ping? Then please fix your patch to: - separate vCard v2 and v3 mime-types - make the v3 mime-type a sub-class of the v2 format - attach your patch as a git formatted patch - and add a test case for each of those. If in doubt, check the HACKING file. Also note that text/vcard is a registered mime-type now, as seen in bug: https://bugs.freedesktop.org/show_bug.cgi?id=27743 Waiting on patches... *** Bug 27743 has been marked as a duplicate of this bug. *** -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xdg/shared-mime-info/issues/27. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.