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

Simon Perreault <simon.perreault@viagenie.ca> Fri, 03 February 2012 15:49 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 ECB0F21F854C for <vcarddav@ietfa.amsl.com>; Fri, 3 Feb 2012 07:49:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.671
X-Spam-Level:
X-Spam-Status: No, score=-1.671 tagged_above=-999 required=5 tests=[AWL=-0.929, BAYES_20=-0.74, 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 kqz9Tlnk87a4 for <vcarddav@ietfa.amsl.com>; Fri, 3 Feb 2012 07:49:57 -0800 (PST)
Received: from jazz.viagenie.ca (unknown [IPv6:2620:0:230:8000:226:55ff:fe57:14db]) by ietfa.amsl.com (Postfix) with ESMTP id 62EC421F8539 for <vcarddav@ietf.org>; Fri, 3 Feb 2012 07:49:57 -0800 (PST)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c000:55df:7ca2:1db8:f2ca]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 9047B21F94; Fri, 3 Feb 2012 10:49:56 -0500 (EST)
Message-ID: <4F2C0224.5080701@viagenie.ca>
Date: Fri, 03 Feb 2012 10:49:56 -0500
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111222 Thunderbird/9.0
MIME-Version: 1.0
To: Javier Godoy <rjgodoy@fich.unl.edu.ar>
References: <20120130182941.6F376B1E002@rfc-editor.org> <4F26E44D.6060807@viagenie.ca> <14E42CB21F0E477CA6DA0AC8E1E1A40D@Javier2>
In-Reply-To: <14E42CB21F0E477CA6DA0AC8E1E1A40D@Javier2>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Pete Resnick <presnick@qualcomm.com>, vcarddav@ietf.org, RFC Errata System <rfc-editor@rfc-editor.org>
Subject: Re: [VCARDDAV] [Technical Errata Reported] RFC6350 (3100)
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: Fri, 03 Feb 2012 15:49:58 -0000

Sorry for the late reply...

On 2012-01-30 16:55, Javier Godoy wrote:
>> Well, all parameters can be implicitly quoted. So why restrict
>> yourself to the TYPE parameter?
>
> Because Section 5 specifies that "the property parameter can be
> multi-valued in which case the property parameter value elements are
> separated by a COMMA" and "property parameter value elements that
> contain the COLON, SEMICOLON, or COMMA character separators MUST be
> specified as quoted-string text values".

Right.

> As I understand Section 5, there are two value elements ("text" and
> "voice"), and what must be quoted is not the property parameter
> *value* (as in TYPE="text,voice"), but the property parameter value
> *elements* (as in TYPE="text","voice"). . Since TYPE is defined as "a
> comma-separated subset of a predefined enumeration", not only there
> is no need to escape the comma, but the comma MUST NOT be escaped
> since it is the list delimiter instead of a part of the *parameter
> value element*.

RIGHT! There is definitely a bug in the example. Now I see it.

> This is similar to
> N;SORT-AS="Aboville,Marie,Christine":d'Aboville;Marie,Christine;;
> instead of
> N;SORT-AS="Aboville","Marie,Christine":d'Aboville;Marie,Christine;;
>
>
>> If the ABNF is to be fixed, it would need to be done implicitly for
>> all parameters at once.
>
> Most of the other parameters either must be quoted (and already allow
>  DQUOTE in ABNF), or are defined as a single element that cannot
> contain comma/semicolon/colon (thus the implicit quote rule is
> harmless). Even most of the list types are not ambiguous if the whole
> value is quoted, for instance the integer-list value
> "+1234556790,432109876" can be understood as
> "+1234556790","432109876", but there are no conflicting examples or
> definitions in RFC 6350.
>
> My concern is that quoting "text,voice" does not conforms Section 5,
> and should be explicitly allowed. Whether the requirement of quoting
> value elements per Section 5 remains as an implicit rule or it is
> explicitly stated in the ABNF, is a separate issue that I didn't
> intend to discuss.

Now I'm not following you. Are you saying that

TYPE="text,voice"

is OK or not?

IMHO,

TYPE=text,voice
TYPE="text","voice"

are OK while

TYPE="text,voice"

is wrong.

If we agree on that then I think the errata can be approved.

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