Re: to/cc/bcc extension

Aristotle Pagaltzis <pagaltzis@gmx.de> Mon, 25 October 2010 20:01 UTC

Return-Path: <owner-atom-syntax@mail.imc.org>
X-Original-To: ietfarch-atompub-archive@core3.amsl.com
Delivered-To: ietfarch-atompub-archive@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 9CEDE3A6ABF for <ietfarch-atompub-archive@core3.amsl.com>; Mon, 25 Oct 2010 13:01:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.554
X-Spam-Level:
X-Spam-Status: No, score=0.554 tagged_above=-999 required=5 tests=[BAYES_50=0.001, HELO_MISMATCH_COM=0.553]
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 XIthiz6KMUi5 for <ietfarch-atompub-archive@core3.amsl.com>; Mon, 25 Oct 2010 13:01:31 -0700 (PDT)
Received: from hoffman.proper.com (Hoffman.Proper.COM [207.182.41.81]) by core3.amsl.com (Postfix) with ESMTP id 93D6E3A6ADE for <atompub-archive@ietf.org>; Mon, 25 Oct 2010 13:01:31 -0700 (PDT)
Received: from hoffman.proper.com (localhost [127.0.0.1]) by hoffman.proper.com (8.14.4/8.14.3) with ESMTP id o9PJtnkG018667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Oct 2010 12:55:49 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
Received: (from majordom@localhost) by hoffman.proper.com (8.14.4/8.13.5/Submit) id o9PJtnYp018666; Mon, 25 Oct 2010 12:55:49 -0700 (MST) (envelope-from owner-atom-syntax@mail.imc.org)
X-Authentication-Warning: hoffman.proper.com: majordom set sender to owner-atom-syntax@mail.imc.org using -f
Received: from mail.gmx.net (mailout-de.gmx.net [213.165.64.23]) by hoffman.proper.com (8.14.4/8.14.3) with SMTP id o9PJtlKt018661 for <atom-syntax@imc.org>; Mon, 25 Oct 2010 12:55:48 -0700 (MST) (envelope-from pagaltzis@gmx.de)
Received: (qmail invoked by alias); 25 Oct 2010 19:55:45 -0000
Received: from static-87-79-236-202.netcologne.de (EHLO klangraum) [87.79.236.202] by mail.gmx.net (mp003) with SMTP; 25 Oct 2010 21:55:45 +0200
X-Authenticated: #163624
X-Provags-ID: V01U2FsdGVkX182bhkQVMw2fg8Q4/8KB5wT7nw5x10RWSVIPKtVhr ie0Ov8UOzAZCEW
Date: Mon, 25 Oct 2010 21:52:22 +0200
From: Aristotle Pagaltzis <pagaltzis@gmx.de>
To: atom-syntax@imc.org
Subject: Re: to/cc/bcc extension
Message-ID: <20101025195219.GP29843@klangraum.plasmasturm.org>
Mail-Followup-To: atom-syntax@imc.org
References: <AANLkTi=P5k0LpVxB-Q4HqeM+zZsHfoXrDuEbGZxX7PSU@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <AANLkTi=P5k0LpVxB-Q4HqeM+zZsHfoXrDuEbGZxX7PSU@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
X-Y-GMX-Trusted: 0
Sender: owner-atom-syntax@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/atom-syntax/mail-archive/>
List-Unsubscribe: <mailto:atom-syntax-request@imc.org?body=unsubscribe>
List-ID: <atom-syntax.imc.org>

* James Snell <jasnell@gmail.com> [2010-10-15 23:05]:
> Wanted to draw attention to this:
>
>   http://tools.ietf.org/html/draft-norris-atompub-audience-00.html
>
> It introduces to/cc/bcc elements to an Atom entry.
>
>   <entry>
>     ...
>     <to>acct:john.doe@example.org <acct%3Ajohn.doe@example.org></to>
>     <to>acct:bob@example.org <acct%3Abob@example.org></to>
>     <cc>acct:jane.doe@example.org <acct%3Ajane.doe@example.org></cc>
>     <cc>acct:jane@example.org <acct%3Ajane@example.org></cc>
>     <bcc>acct:jean.deux@example.org <acct%3Ajean.deux@example.org></bcc>
>     <bcc>acct:max@example.org <acct%3Amax@example.org></bcc>
>     ...
>   </entry>
>
> Comments are welcomed and requested.

First: your example XML is broken. (Unescaped angle brackets in
content.)

Next: microparsing, and of text content no less (as opposed to
attribute values)? How hideous.

I will suggest something like

    <audience rel="to"
        address="acct:john.doe@example.org"
        label="acct:john.doe@example.org" />

The label should be optional of course.

Now you have something tractable to XML tools, eg. you can write
reasonable XPath queries across these elements.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>