Re: [VCARDDAV] How to encode X-Properties in XML?
Cyrus Daboo <cyrus@daboo.name> Tue, 09 March 2010 15:40 UTC
Return-Path: <cyrus@daboo.name>
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 8B1D93A6B95 for <vcarddav@core3.amsl.com>; Tue, 9 Mar 2010 07:40:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.439
X-Spam-Level:
X-Spam-Status: No, score=-2.439 tagged_above=-999 required=5 tests=[AWL=0.160, BAYES_00=-2.599]
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 j8t7HG+KL92H for <vcarddav@core3.amsl.com>; Tue, 9 Mar 2010 07:40:01 -0800 (PST)
Received: from daboo.name (daboo.name [151.201.22.177]) by core3.amsl.com (Postfix) with ESMTP id AF5313A6B14 for <vcarddav@ietf.org>; Tue, 9 Mar 2010 07:39:57 -0800 (PST)
Received: from localhost (localhost [127.0.0.1]) by daboo.name (Postfix) with ESMTP id 2BF2AFDE8774; Tue, 9 Mar 2010 10:40:02 -0500 (EST)
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 E8Ui5LXNA5DW; Tue, 9 Mar 2010 10:40:01 -0500 (EST)
Received: from caldav.corp.apple.com (unknown [17.101.32.44]) by daboo.name (Postfix) with ESMTPSA id EB8CFFDE8763; Tue, 9 Mar 2010 10:40:00 -0500 (EST)
Date: Tue, 09 Mar 2010 10:39:57 -0500
From: Cyrus Daboo <cyrus@daboo.name>
To: Simon Perreault <simon.perreault@viagenie.ca>, vcarddav@ietf.org
Message-ID: <1B68D1C8710BC35F8DB33BE8@caldav.corp.apple.com>
In-Reply-To: <4B951355.40508@viagenie.ca>
References: <4B951355.40508@viagenie.ca>
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="1225"
Subject: Re: [VCARDDAV] How to encode X-Properties in XML?
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, 09 Mar 2010 15:40:07 -0000
Hi Simon, --On March 8, 2010 10:10:13 AM -0500 Simon Perreault <simon.perreault@viagenie.ca> wrote: > The main open issue we have for vCard XML is that of encoding > X-Properties in XML. vCard uses X- for unregistered extensions, while > vCard XML uses XML namespaces. It's not clear how to automatically > convert from one to another. > > A proposal: Create an XML namespace for X- properties. Put the content > into a <text> element. > > Example: > > X-FOO:bar > > would translate into: > > <foo xmlns="urn:ietf:params:xml:ns:vcard-4.0:xname"><text>bar</text></foo> > > We don't need to add anything to the schema since we already specify that > an XML vCard parser MUST ignore elements in namespaces it doesn't > recognize. (Maybe we can add text to force it for this namespace.) The choice we made for icalendar-in-xml was to simply allow the X- properties to appear as <x-...> elements in the default "icalendar" namespace. It did not seem worthwhile to have a special namespace for those as in reality they are processed in exactly the same way as regular properties. The key thing is that these elements/properties cannot be ignored. They are there for a purpose (be it only "experimental"). -- Cyrus Daboo
- [VCARDDAV] How to encode X-Properties in XML? Simon Perreault
- Re: [VCARDDAV] How to encode X-Properties in XML? Renato Iannella
- Re: [VCARDDAV] How to encode X-Properties in XML? Cyrus Daboo
- Re: [VCARDDAV] How to encode X-Properties in XML? Simon Perreault
- Re: [VCARDDAV] How to encode X-Properties in XML? Cyrus Daboo
- Re: [VCARDDAV] How to encode X-Properties in XML? Peter Saint-Andre
- Re: [VCARDDAV] How to encode X-Properties in XML? Simon Perreault
- Re: [VCARDDAV] How to encode X-Properties in XML? Joe Hildebrand
- Re: [VCARDDAV] How to encode X-Properties in XML? Filip Navara
- Re: [VCARDDAV] How to encode X-Properties in XML? Simon Perreault
- Re: [VCARDDAV] How to encode X-Properties in XML? Joe Hildebrand
- Re: [VCARDDAV] How to encode X-Properties in XML? Peter Saint-Andre
- Re: [VCARDDAV] How to encode X-Properties in XML? Joe Hildebrand
- Re: [VCARDDAV] How to encode X-Properties in XML? Peter Saint-Andre
- Re: [VCARDDAV] How to encode X-Properties in XML? Julian Reschke
- Re: [VCARDDAV] How to encode X-Properties in XML? Peter Saint-Andre
- Re: [VCARDDAV] How to encode X-Properties in XML? Joe Hildebrand
- Re: [VCARDDAV] How to encode X-Properties in XML? Cyrus Daboo