Re: [VCARDDAV] CardDAV + xCard in query response

Mike Douglass <douglm@rpi.edu> Mon, 20 June 2011 18:12 UTC

Return-Path: <douglm@rpi.edu>
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 44E7111E8094 for <vcarddav@ietfa.amsl.com>; Mon, 20 Jun 2011 11:12:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FoK2Yhhs3msv for <vcarddav@ietfa.amsl.com>; Mon, 20 Jun 2011 11:12:21 -0700 (PDT)
Received: from smtp7.server.rpi.edu (smtp7.server.rpi.edu [128.113.2.227]) by ietfa.amsl.com (Postfix) with ESMTP id 1573211E808E for <vcarddav@ietf.org>; Mon, 20 Jun 2011 11:12:20 -0700 (PDT)
Received: from [128.113.124.133] (crustacean-05.dynamic.rpi.edu [128.113.124.133]) (authenticated bits=0) by smtp7.server.rpi.edu (8.13.1/8.13.1) with ESMTP id p5KICI1A003808 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <vcarddav@ietf.org>; Mon, 20 Jun 2011 14:12:19 -0400
Message-ID: <4DFF8D82.3090506@rpi.edu>
Date: Mon, 20 Jun 2011 14:12:18 -0400
From: Mike Douglass <douglm@rpi.edu>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110516 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: vcarddav@ietf.org
References: <4DE03A77.6030801@quillaud.org> <4DF65BC9.7050306@viagenie.ca> <A93F91D639EB4D5B16840D2E@caldav.corp.apple.com> <BANLkTi=1WS24Sb_vnSOWq99C0tOuyPJ6ag@mail.gmail.com> <1773B5FAF113A95099870AF8@caldav.corp.apple.com> <4DFF84EF.3030806@viagenie.ca>
In-Reply-To: <4DFF84EF.3030806@viagenie.ca>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Bayes-Prob: 0.0001 (Score 0)
X-RPI-SA-Score: 1.40 (*) [Hold at 12.00] RATWARE_GECKO_BUILD,22490(-25)
X-CanItPRO-Stream: outgoing
X-Canit-Stats-ID: Bayes signature not available
X-Scanned-By: CanIt (www . roaringpenguin . com) on 128.113.2.227
Subject: Re: [VCARDDAV] CardDAV + xCard in query response
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, 20 Jun 2011 18:12:22 -0000

I had taken the approach that what is contained within the calendar-data 
element is the XML representation of an event, i.e

<calendar-data>
<icalendar>
...
</icalendar>
</calendar-data>

This is more in line with other protocols and allows the entire response 
to be parsed as a whole.

It does raise the issue of whether there is a resource body (there isn't 
in my case) and what representation it takes - is it an XML database 
manufacturing icalendar or an icalendar system manufacturing XML - or 
some other approach manufacturing both.

In essence I don't have a resource body to reproduce exactly...

On 06/20/2011 01:35 PM, Simon Perreault wrote:
> On 2011-06-20 12:20, Cyrus Daboo wrote:
>> That said, I worry that "embedding" xCard and xCal inside the
>> address-data and calendar-data elements is going to be problematic. In
>> particular the content needs to reproduce exactly what would be in the
>> resource body, including the<?xml ...>  element at the start. I think
>> that pretty much requires always places xcard/xCal data inside CDATA[].
> If we end up doing that, I, for one, would consider it a huge failure.
>
> Simon

-- 

Mike Douglass                           douglm@rpi.edu
Senior Systems Programmer
Communication&  Collaboration Technologies      518 276 6780(voice) 2809
(fax)
Rensselaer Polytechnic Institute 110 8th Street, Troy, NY 12180