%ents; ]>
vCard Filtering This document specifies a mechanism for requesting specific sections of a vCard. &LEGALNOTICE; 0164 Deferred Standards Track Standards JIG Council XMPP Core JEP-0054 vcard-temp-filter Daniel Henninger jadestorm@nc.rr.com daniel@jabber.vorpalcloud.org 0.1 2005-11-16 psa Initial JEP version. 0.0.2 2005-11-05 dah Switched to filter out, instead of filter in. 0.0.1 2005-10-22 dah First draft.

Because XML vCards (see &jep0054;) are now actively used for storing avatars (see &jep0153;), the ability to retrieve only portions of a vCard has become desirable. This JEP can eliminate unnecessary bandwidth usage when larger elements of a vCard are not needed.

Any entity supporting this extension MUST be prepared to accept more fields than were requested, in case the target does not support this extension. A compliant target SHOULD exclude any fields listed in the filter element. In the event that the filter element does not exist or is empty, the target MUST return the entire vCard as it would without this extension.

To illustrate the functionality of this JEP, we will first request a standard vCard. As shown in JEP-0054, a user may view another user's vCard by sending an IQ of type "get" to the other user's bare JID. A compliant server MUST return the vCard to the requestor and not forward the IQ to the requestee's connected resource.

]]>

The server should then return the other user's vCard to the requestor:

Jeremie Miller Jeremie Miller jer jeremie@jabber.org jer@jabber.org ]]>

A user may request that specific portions of another user's vCard be excluded by including the requested field(s) inside a filter element qualified by the 'vcard-temp-filter' namespace, inside the vCard element.

]]>

The server should then return all available fields from the other user's vCard except for those listed in the filter stanza:

JeremieMiller Jeremie Miller jer jeremie@jabber.org ]]>

This JEP introduces no new security concerns beyond those already involved in implementation and deployment of the 'vcard-temp' protocol.

This JEP requires no interaction with &IANA;.

The ®ISTRAR; shall add 'vcard-temp-filter' to its registry of official namespaces.

The schema for the 'vcard-temp-filter' namespace re-uses the element names from the DTD described in JEP-0054.

]]>