Re: [VCARDDAV] [Technical Errata Reported] RFC6350 (3139)

Simon Perreault <simon.perreault@viagenie.ca> Mon, 27 February 2012 13:35 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 D856521F870B for <vcarddav@ietfa.amsl.com>; Mon, 27 Feb 2012 05:35:47 -0800 (PST)
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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ReDbElWDgi78 for <vcarddav@ietfa.amsl.com>; Mon, 27 Feb 2012 05:35:47 -0800 (PST)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by ietfa.amsl.com (Postfix) with ESMTP id 2029F21F870A for <vcarddav@ietf.org>; Mon, 27 Feb 2012 05:35:47 -0800 (PST)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c000:c555:f76c:85ad:e980]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 5614D20E7B; Mon, 27 Feb 2012 08:35:46 -0500 (EST)
Message-ID: <4F4B86B1.3000608@viagenie.ca>
Date: Mon, 27 Feb 2012 08:35:45 -0500
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1
MIME-Version: 1.0
To: RFC Errata System <rfc-editor@rfc-editor.org>
References: <20120226023517.B45F4622E6@rfc-editor.org>
In-Reply-To: <20120226023517.B45F4622E6@rfc-editor.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: presnick@qualcomm.com, kai@giebeler.de, barryleiba@computer.org, vcarddav@ietf.org
Subject: Re: [VCARDDAV] [Technical Errata Reported] RFC6350 (3139)
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: Mon, 27 Feb 2012 13:35:48 -0000

This is a good example of parameter value quoting brokenness.

Suggested status: held for document update

Thanks,
Simon

On 2012-02-25 21:35, RFC Errata System wrote:
> The following errata report has been submitted for RFC6350,
> "vCard Format Specification".
>
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata_search.php?rfc=6350&eid=3139
>
> --------------------------------------
> Type: Technical
> Reported by: Kai Giebeler<kai@giebeler.de>
>
> Section: 3.3. et. al.
>
> Original Text
> -------------
> 3.3. ABNF Format Definition
>     param-value = *SAFE-CHAR / DQUOTE *QSAFE-CHAR DQUOTE
>     any-param  = (iana-token / x-name) "=" param-value *("," param-value)
>
> 5.6. TYPE
>     type-param = "TYPE=" type-value *("," type-value)
>
> 5.9. SORT-AS
>     sort-as-value = param-value *("," param-value)
>     SORT-AS="Harten,Rene"
>
> 6.4.1. TEL
>     TYPE=text;TYPE=voice
>     TYPE="voice,fax"
>
>
> Corrected Text
> --------------
> The semantics of of lists passed to/by parameters should be consistent
> or clearly stated.
>
> Notes
> -----
> (I'm unsure if this is a technical problem or simply needs to be clarified)
>
> All of the following parameters seem to be allowed and seem to be (more or less) equivalent:
> X-PARAM="tel,fax,mail"
> X-PARAM="tel","fax","mail"
> X-PARAM="tel",fax,"mail,pager"
> X-PARAM="tel,fax";X-PARAM="mail",pager
>
> The main advantage of quoting strings gets lost, if contained characters get a special meaning (like a comma for separation).
>
> In my opinion quoted values should be considered to be some kind of atomic. Without that rule there's no generic approach to interpret unknown parameter values. e.g.
> X-PARAM="doc1.txt?row=10,col=6","doc2.txt?row=3,col=5"
>
> If "voice,fax" may be decomposed to "voice", "fax" the example could be decomposed to:
> - "doc1.txt?row=10"
> - "col=6"
> - "doc2.txt?row=3"
> - "col=5"
> ... which is clearly not the authors intention. By recomposing it could end up as
> "doc1.txt?row=10,col=6,doc2.txt?row=3,col=5"
>
> Preserving unknown parameters in a read-modify-write-process is nearly impossible to implement.
>
> Instructions:
> -------------
> This errata is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party (IESG)
> can log in to change the status and edit the report, if necessary.
>
> --------------------------------------
> RFC6350 (draft-ietf-vcarddav-vcardrev-22)
> --------------------------------------
> Title               : vCard Format Specification
> Publication Date    : August 2011
> Author(s)           : S. Perreault
> Category            : PROPOSED STANDARD
> Source              : vCard and CardDAV
> Area                : Applications
> Stream              : IETF
> Verifying Party     : IESG


-- 
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