Re: [VCARDDAV] XML extensions
Simon Perreault <simon.perreault@viagenie.ca> Wed, 29 July 2009 11:24 UTC
Return-Path: <simon.perreault@viagenie.ca>
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 1A8BF3A6F57 for <vcarddav@core3.amsl.com>; Wed, 29 Jul 2009 04:24:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level:
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
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 qrbpaYzVUHNv for <vcarddav@core3.amsl.com>; Wed, 29 Jul 2009 04:24:35 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by core3.amsl.com (Postfix) with ESMTP id 436113A67B4 for <vcarddav@ietf.org>; Wed, 29 Jul 2009 04:24:33 -0700 (PDT)
Received: by jazz.viagenie.ca (Postfix, from userid 8) id 1EE7029E15E4; Wed, 29 Jul 2009 07:24:32 -0400 (EDT)
Received: from dhcp-13e3.meeting.ietf.org (unknown [IPv6:2001:df8:0:16:20a:95ff:fef7:a2af]) by jazz.viagenie.ca (Postfix) with ESMTP id 5F20A29E15D5; Wed, 29 Jul 2009 07:24:28 -0400 (EDT)
Message-ID: <4A703168.5020605@viagenie.ca>
Date: Wed, 29 Jul 2009 13:24:24 +0200
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605)
MIME-Version: 1.0
To: Joe Hildebrand <joe.hildebrand@webex.com>
References: <C695EAA6.10833%joe.hildebrand@webex.com>
In-Reply-To: <C695EAA6.10833%joe.hildebrand@webex.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: vcarddav@ietf.org
Subject: Re: [VCARDDAV] XML extensions
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: Wed, 29 Jul 2009 11:24:36 -0000
Joe Hildebrand wrote: > EXTENSIONS;ENCODING=b;TYPE=text/xml:base64(xml) ^^^^^^^^^^^^ Why is this needed? It would mean that when you decode the base64 (as indicated by ENCODING=b), you end up with base64 data, which you decode again, and then you have text/xml, right? (I couldn't find a definition of what it actually means.) > (on the bus, we said "X-TENSIONS", but that was overly-cute) You have exceeded your cleverness quota for the day. Please report to secretariat ASAP. > <?xml version="1.0" encoding="UTF-8"?> > <vcard xmlns="urn:ietf:params:xml:ns:vcard-4.0"> > <fn><text>Simon Perreault</text></fn> > ... > <extensions> > <my-extension xmlns='urn:example:foo'> > </my-extension> > </extensions> > </vcard> Why is the extensions element needed here? There can't be name clashes anyway because each extension is in its own XML namespace. > The PI for encoding is important, but (as always in XML) it's odd that > really only the first two code points ("<?") are used to guess the encoding, > then the guess is double-checked with the encoding declaration is reached. Just use the charset MIME parameter in the TYPE property parameter: EXTENSIONS;ENCODING=b;TYPE="text/xml;charset=UTF-8":... > The extensibility language in vcardrev and vcardxml will need to be updated > to ensure round-tripability. XML extensions will not solve the problem of > existing X- or VND- fields in the old format, and their mechanical > translation into the XML format. Agreed. +1 Simon -- STUN/TURN server --> http://numb.viagenie.ca Interplanetary news --> http://reeves.viagenie.ca vCard 4.0 --> http://www.vcarddav.org
- [VCARDDAV] XML extensions Joe Hildebrand
- Re: [VCARDDAV] XML extensions Simon Perreault
- Re: [VCARDDAV] XML extensions Joe Hildebrand
- Re: [VCARDDAV] XML extensions Simon Perreault
- Re: [VCARDDAV] XML extensions Joe Hildebrand
- Re: [VCARDDAV] XML extensions Simon Perreault
- Re: [VCARDDAV] XML extensions Joe Hildebrand