Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al-icalendar-in-xml-08.txt> (xCal: The XML format for iCalendar) to Proposed Standard
Cyrus Daboo <cyrus@daboo.name> Mon, 18 April 2011 18:56 UTC
Return-Path: <cyrus@daboo.name>
X-Original-To: vcarddav@ietfc.amsl.com
Delivered-To: vcarddav@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 620BBE0876 for <vcarddav@ietfc.amsl.com>; Mon, 18 Apr 2011 11:56:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.401
X-Spam-Level:
X-Spam-Status: No, score=-102.401 tagged_above=-999 required=5 tests=[AWL=-0.402, BAYES_00=-2.599, J_CHICKENPOX_37=0.6, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([208.66.40.236]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hSQ0+bO2QqVZ for <vcarddav@ietfc.amsl.com>; Mon, 18 Apr 2011 11:56:15 -0700 (PDT)
Received: from daboo.name (daboo.name [151.201.22.177]) by ietfc.amsl.com (Postfix) with ESMTP id 5EB41E086D for <vcarddav@ietf.org>; Mon, 18 Apr 2011 11:56:15 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 6226E1C7F26DA; Mon, 18 Apr 2011 14:56:14 -0400 (EDT)
X-Virus-Scanned: amavisd-new at daboo.name
Received: from daboo.name ([127.0.0.1]) by localhost (chewy.mulberrymail.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WlIzG0Rm5vDN; Mon, 18 Apr 2011 14:56:14 -0400 (EDT)
Received: from caldav.corp.apple.com (unknown [17.101.32.44]) by daboo.name (Postfix) with ESMTPSA id 1B82B1C7F26CE; Mon, 18 Apr 2011 14:56:12 -0400 (EDT)
Date: Mon, 18 Apr 2011 14:56:09 -0400
From: Cyrus Daboo <cyrus@daboo.name>
To: Peter Saint-Andre <stpeter@stpeter.im>, CardDAV <vcarddav@ietf.org>
Message-ID: <17449B53B011C15B1EFB5C2B@caldav.corp.apple.com>
In-Reply-To: <4DAC85E0.2080802@stpeter.im>
References: <4DA71969.9010600@stpeter.im> <4DAC85E0.2080802@stpeter.im>
X-Mailer: Mulberry/4.1.0a1 (Mac OS X)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; size="1957"
Subject: Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al-icalendar-in-xml-08.txt> (xCal: The XML format for iCalendar) to Proposed Standard
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, 18 Apr 2011 18:56:16 -0000
Hi Peter, --On April 18, 2011 12:41:36 PM -0600 Peter Saint-Andre <stpeter@stpeter.im> wrote: >> Just FYI. This document is intended to be in sync with vcardxml >> regarding XML structure, so folks here might want to review both >> documents with that in mind... > > I notice that the definitions for value types, parameters, and > properties are not always in sync. Do they need to be? > > Here are two examples. > > 1. The "boolean" value. > > a. vcardxml says: > > value-boolean = element boolean { xsd:boolean } > > b. icalendar-in-xml says: > > value-boolean = element boolean { > ("TRUE" | "FALSE") > } > > The difference here is that W3C XML Schema defines two lexical > represenations for boolean: either "true"/"false", or "1"/"0". > > http://www.w3.org/TR/xmlschema-2/#boolean The xCal spec does not use xsd: elements in its RelaxNG schema. Should it? I see that Simon seems to have gone to greater lengths to specify string patterns and the like to constrain values. For xCal we choose not to do that, preferring to keep the base schema simple on the understanding that validation of iCalendar semantics would require something a lot more complex (e.g. requiring DTEND > DTSTART etc). So the question here is should xCal adopt the xsd: style value specs in xCard, or should xCard drop back to using simple RelaxNG { text } elements, or does it not matter? > 2. The "geo" parameter / property. > > a. vcardxml says: > > param-geo = element geo { value-uri }? > > b. icalendar-in-xml says: > > property-geo = element geo { > > element parameters { empty }?, > > element value { > element latitude { text }, > element longitude { text } > } > } GEO is itself defined differently in iCalendar (two floats) and vCard (geo uri) - so in this case the difference is valid. However, the xCal schema for GEO is wrong as it ought to use 'float' and not 'text'. -- Cyrus Daboo
- [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al-ica… Peter Saint-Andre
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Filip Navara
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Simon Perreault
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Cyrus Daboo
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Peter Saint-Andre
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Cyrus Daboo
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Arnaud Quillaud
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Peter Saint-Andre
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Simon Perreault
- Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al… Cyrus Daboo