Re: [VCARDDAV] PHOTO property inconsistencies

Simon Perreault <simon.perreault@viagenie.ca> Thu, 19 May 2011 13:57 UTC

Return-Path: <simon.perreault@viagenie.ca>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3D87FE06D9 for <vcarddav@ietfa.amsl.com>; Thu, 19 May 2011 06:57:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rLS-fGCBja76 for <vcarddav@ietfa.amsl.com>; Thu, 19 May 2011 06:57:22 -0700 (PDT)
Received: from jazz.viagenie.ca (unknown [IPv6:2620:0:230:8000:226:55ff:fe57:14db]) by ietfa.amsl.com (Postfix) with ESMTP id 3B0B3E066A for <vcarddav@ietf.org>; Thu, 19 May 2011 06:57:22 -0700 (PDT)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c000:21d:60ff:fed7:e732]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 0C65420D2C for <vcarddav@ietf.org>; Thu, 19 May 2011 09:57:21 -0400 (EDT)
Message-ID: <4DD521C0.7030001@viagenie.ca>
Date: Thu, 19 May 2011 09:57:20 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110320 Fedora/3.1.9-4.fc16 Lightning/1.0b3pre Thunderbird/3.1.9
MIME-Version: 1.0
To: vcarddav@ietf.org
References: <4DAEB147.7070904@quillaud.org>
In-Reply-To: <4DAEB147.7070904@quillaud.org>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Subject: Re: [VCARDDAV] PHOTO property inconsistencies
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/vcarddav>
List-Post: <mailto:vcarddav@ietf.org>
List-Help: <mailto:vcarddav-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/vcarddav>, <mailto:vcarddav-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 May 2011 13:57:23 -0000

On 2011-04-20 06:11, Arnaud Quillaud wrote:
> Hello,
> 
> About the PHOTO property:
> 
> http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-19#section-6.2.4
> defines its parameters as being:
> 
> <<
> 
> PHOTO-param = "VALUE=uri" / altid-param / type-param
>                  / mediatype-param
> 
>>>
> 
> while http://tools.ietf.org/html/draft-ietf-vcarddav-vcardxml-09
> 
> defines it as:
> 
> <<
> 
> property-photo = element photo {
>     element parameters { param-altid, param-pid, param-pref, param-type,
>                          param-mediatype }?,
>     value-uri
>   }
> 
>>>
> 
> (xCard adds pid and pref params)
> 
> Since this is a multivalued property, pid-param is probably missing from
> the vCard definition.

Definitely. Good catch!

> 
> Same goes for the pref parameter if we follow its definition: <<
> 
> This parameter MAY be applied to any property that allows multiple
>    instances.
> 
>>>

Also right. Will add.

The "any-param" is also missing, so I will add it.

Those three parameters were mistakenly removed when going from -14 to -15.

> Finally, about the type param on photos, given that vCard 3.0 and
> earlier versions of the draft were using the TYPE parameter to convey
> the media type, shall that be mentioned in Appendix A (i.e. vCard 3.0
> TYPE param became MEDIATYPE in vCard 4.0) ?

Added.

Thanks,
Simon
-- 
DTN made easy, lean, and smart --> http://postellation.viagenie.ca
NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
STUN/TURN server               --> http://numb.viagenie.ca