Re: [VCARDDAV] Issue in vcardrev-11 with Line Delimiting and Folding?

Andrew McMillan <andrew@morphoss.com> Sun, 30 May 2010 07:38 UTC

Return-Path: <andrew@morphoss.com>
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 226BC3A676A for <vcarddav@core3.amsl.com>; Sun, 30 May 2010 00:38:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.554
X-Spam-Level:
X-Spam-Status: No, score=0.554 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HELO_MISMATCH_COM=0.553]
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 6ox+RKZIUO6w for <vcarddav@core3.amsl.com>; Sun, 30 May 2010 00:38:43 -0700 (PDT)
Received: from mail.morphoss.com (hoppy.mcmillan.net.nz [202.78.240.82]) by core3.amsl.com (Postfix) with ESMTP id D5BF33A67A5 for <vcarddav@ietf.org>; Sun, 30 May 2010 00:38:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.morphoss.com (Postfix) with ESMTP id 5C27A201CD; Sun, 30 May 2010 19:38:25 +1200 (NZST)
X-Virus-Scanned: Debian amavisd-new at mail.morphoss.com
Received: from mail.morphoss.com ([127.0.0.1]) by localhost (hoppy.mcmillan.net.nz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9py2XfCR1rXu; Sun, 30 May 2010 19:38:10 +1200 (NZST)
Received: from [192.168.55.20] (home.mcmillan.net.nz [202.160.48.75]) (Authenticated sender: andrew@mail.morphoss.com) by mail.morphoss.com (Postfix) with ESMTPSA id 51D4F23795; Sun, 30 May 2010 19:38:10 +1200 (NZST)
From: Andrew McMillan <andrew@morphoss.com>
To: Markus Lorenz <lorenz@atlantika-arts.net>
In-Reply-To: <4C01AC1A.5000403@atlantika-arts.net> (sfid-20100530_120721_797912_22053162)
References: <4C01AC1A.5000403@atlantika-arts.net> (sfid-20100530_120721_797912_22053162)
Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Dz4FXTn3i+hncf100G0P"
Date: Sun, 30 May 2010 19:38:09 +1200
Message-ID: <1275205089.3820.287.camel@happy.home.mcmillan.net.nz>
Mime-Version: 1.0
X-Mailer: Evolution 2.30.1.2
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] Issue in vcardrev-11 with Line Delimiting and Folding?
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: Sun, 30 May 2010 07:38:44 -0000

On Sun, 2010-05-30 at 02:06 +0200, Markus Lorenz wrote:
> Hey again,
> 
> section "3.1. Line Delimiting and Folding" says:
> 
>    A logical line MAY be continued on the next physical line anywhere
>    between two characters by inserting a CRLF immediately followed by a
>    single white space character (space, ASCII decimal 32, or horizontal
>    tab, ASCII decimal 9).
> 
> It clearly states that the CRLF is followed by only a single white space
> character. The example however uses _two_ spaces, at least in the
> text-version in line 329
> (http://www.ietf.org/id/draft-ietf-vcarddav-vcardrev-11.txt)
> 
>    For example the line:
> 
>      DESCRIPTION:This is a long description that exists on a long line.
> 
>    can be represented as:
> 
>      DESCRIPTION:This is a long description
>        that exists on a long line.
> 
> Maybe in the non-text version it has been a tab!?

Hi Markus,

It's wrapped before the existing space, so that (making spaces visible
as ^):

DESCRIPTION:This^is^a^long^description^that^exists^on^a^long^line.

has now become:

DESCRIPTION:This^is^a^long^description
^^that^exists^on^a^long^line.

So in the transformation only a line break, and a space have been added
- the second space already existed.

Cheers,
					Andrew.

-- 
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com                            +64(272)DEBIAN
         Flexibility is overrated.  Constraints are liberating.
------------------------------------------------------------------------