Re: [VCARDDAV] Fwd: Last Call: <draft-daboo-et-al-icalendar-in-xml-08.txt> (xCal: The XML format for iCalendar) to Proposed Standard

Peter Saint-Andre <stpeter@stpeter.im> Mon, 18 April 2011 18:41 UTC

Return-Path: <stpeter@stpeter.im>
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 B4AFCE081E for <vcarddav@ietfc.amsl.com>; Mon, 18 Apr 2011 11:41:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.299
X-Spam-Level:
X-Spam-Status: No, score=-102.299 tagged_above=-999 required=5 tests=[AWL=-0.300, 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 OEZWc7fwyRzH for <vcarddav@ietfc.amsl.com>; Mon, 18 Apr 2011 11:41:39 -0700 (PDT)
Received: from stpeter.im (stpeter.im [207.210.219.233]) by ietfc.amsl.com (Postfix) with ESMTP id BE4D6E070A for <vcarddav@ietf.org>; Mon, 18 Apr 2011 11:41:39 -0700 (PDT)
Received: from dhcp-64-101-72-185.cisco.com (dhcp-64-101-72-185.cisco.com [64.101.72.185]) (Authenticated sender: stpeter) by stpeter.im (Postfix) with ESMTPSA id 15F4040D6A for <vcarddav@ietf.org>; Mon, 18 Apr 2011 12:45:07 -0600 (MDT)
Message-ID: <4DAC85E0.2080802@stpeter.im>
Date: Mon, 18 Apr 2011 12:41:36 -0600
From: Peter Saint-Andre <stpeter@stpeter.im>
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
MIME-Version: 1.0
To: CardDAV <vcarddav@ietf.org>
References: <4DA71969.9010600@stpeter.im>
In-Reply-To: <4DA71969.9010600@stpeter.im>
X-Enigmail-Version: 1.1.1
OpenPGP: url=http://www.saint-andre.com/me/stpeter.asc
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha1"; boundary="------------ms090007060108000909050507"
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:41:40 -0000

On 4/14/11 9:57 AM, Peter Saint-Andre 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

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 }
       }
   }

/psa