Re: [VCARDDAV] Proposal around escape character handling (2nd round)

Florian Zeitz <florob@babelmonkeys.de> Tue, 13 July 2010 17:25 UTC

Return-Path: <florob@babelmonkeys.de>
X-Original-To: vcarddav@core3.amsl.com
Delivered-To: vcarddav@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3BFCB3A6B2F for <vcarddav@core3.amsl.com>; Tue, 13 Jul 2010 10:25:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.249
X-Spam-Level:
X-Spam-Status: No, score=-2.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qzXgPUaNYwAc for <vcarddav@core3.amsl.com>; Tue, 13 Jul 2010 10:25:24 -0700 (PDT)
Received: from babelmonkeys.de (v64231.topnetworks.de [82.197.159.233]) by core3.amsl.com (Postfix) with ESMTP id 648313A6B29 for <vcarddav@ietf.org>; Tue, 13 Jul 2010 10:25:24 -0700 (PDT)
Received: from xdsl-87-78-36-219.netcologne.de ([87.78.36.219] helo=[192.168.234.167]) by v64231 with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from <florob@babelmonkeys.de>) id 1OYjEZ-00077L-Uq for vcarddav@ietf.org; Tue, 13 Jul 2010 19:25:32 +0200
Message-ID: <4C3CA1A2.6010801@babelmonkeys.de>
Date: Tue, 13 Jul 2010 19:25:54 +0200
From: Florian Zeitz <florob@babelmonkeys.de>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100624 Lanikai/3.1
MIME-Version: 1.0
To: vcarddav@ietf.org
References: <AANLkTilx6XgI2iosuKf5zmHnLggkmYe4EeeN-PijvI5K@mail.gmail.com> <36FF8BB750F3694C0400EAC1@caldav.corp.apple.com> <4C3C8815.4010304@viagenie.ca>
In-Reply-To: <4C3C8815.4010304@viagenie.ca>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Subject: Re: [VCARDDAV] Proposal around escape character handling (2nd round)
X-BeenThere: vcarddav@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: IETF vcarddav wg mailing list <vcarddav.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Tue, 13 Jul 2010 17:25:25 -0000

On 13.07.2010 17:36, Simon Perreault wrote:
> On 2010-07-13 10:59, Cyrus Daboo wrote:
>> So there is a real problem here. For example, if in the future I define
>> a new property FOO that uses a ;-delimited compound value, then I want
>> to be sure that clients not aware of this property will properly
>> "round-trip" it. So if I send such a client this:
>>
>> FOO:delimited;text\;string
> 
> Right, there is a problem with the current text.
> 
> Assume we specify that semicolons that are not component separators MUST
> be escaped. Then a client can correctly interpret this unknown property
> as having two components. And it will always output it exactly the way
> it received it. That fixes the problem, right?
> 
> If so, this would point toward the acceptance of proposal 1.
> 
> Simon
While I'm not strictly against this I wonder if this is really needed.
If we are working under the assumption that the client doesn't
understand the FOO property, can't we just say that it MUST NOT parse it
at all and replicate it exactly as received? (e.g. by storing it with a
verbatim-flag)
I don't see the point of knowing that something I don't understand has
two components...

--
Florian Zeitz