Subject: Re: [VCARDDAV] PHOTO property inconsistencies

From: Simon Perreault <[email-masked]>
Date: Thu, 19 May 2011 09:57:20 -0400

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