Re: [VCARDDAV] xCard cardinality

Renato Iannella <renato@iannella.it> Tue, 19 June 2012 01:48 UTC

Return-Path: <renato@iannella.it>
X-Original-To: vcarddav@ietfa.amsl.com
Delivered-To: vcarddav@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B23C411E80DB for <vcarddav@ietfa.amsl.com>; Mon, 18 Jun 2012 18:48:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.977
X-Spam-Level: *
X-Spam-Status: No, score=1.977 tagged_above=-999 required=5 tests=[AWL=1.300, BAYES_00=-2.599, HELO_EQ_IT=0.635, HOST_EQ_IT=1.245, MIME_QP_LONG_LINE=1.396]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a4Ibi4-5H3pZ for <vcarddav@ietfa.amsl.com>; Mon, 18 Jun 2012 18:48:47 -0700 (PDT)
Received: from authsmtp.register.it (authsmtp07.register.it [81.88.48.57]) by ietfa.amsl.com (Postfix) with ESMTP id 8CB6A11E80D0 for <vcarddav@ietf.org>; Mon, 18 Jun 2012 18:48:45 -0700 (PDT)
Received: (qmail 2281 invoked from network); 19 Jun 2012 01:48:43 -0000
Received: from unknown (HELO ?192.168.1.3?) (smtp@iannella.it@211.31.16.178) by authsmtp.register.it with ESMTPA; 19 Jun 2012 01:48:43 -0000
References: <2E924EFC-7169-48D2-A3FB-02765C07423A@iannella.it> <4FDF3ADB.7070005@viagenie.ca>
In-Reply-To: <4FDF3ADB.7070005@viagenie.ca>
Mime-Version: 1.0 (1.0)
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="us-ascii"
Message-Id: <6C454453-54C4-422D-ADFC-CB208DA9F965@iannella.it>
X-Mailer: iPhone Mail (9B206)
From: Renato Iannella <renato@iannella.it>
Date: Tue, 19 Jun 2012 11:48:39 +1000
To: Simon Perreault <simon.perreault@viagenie.ca>
Cc: "vcarddav@ietf.org" <vcarddav@ietf.org>
Subject: Re: [VCARDDAV] xCard cardinality
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: Tue, 19 Jun 2012 01:48:47 -0000

So in an <adr> element we can have:
 <country>Australia</country>
<country>Canada</country

?
Cheers...Renato

On 19/06/2012, at 12:27 AM, Simon Perreault <simon.perreault@viagenie.ca> wrote:

> On 2012-06-16 23:45, Renato Iannella wrote:
>> A colleague has indicated that the RelaxNG cardinality may be in
>> correct in the xCard spec. Specifically, all the elements of ADR (eg
>> pobox etc) and N (eg prefix etc) have "+" (oneOrMore) cardinality ?
> 
> The RFC is correct. In plain text vCard, each component is a comma-separated list, so that each component can have multiple values. Just like the N property.
> 
>     ADR-value = ADR-component-pobox ";" ADR-component-ext ";"
>                 ADR-component-street ";" ADR-component-locality ";"
>                 ADR-component-region ";" ADR-component-code ";"
>                 ADR-component-country
>     ADR-component-pobox    = list-component
>     ADR-component-ext      = list-component
>     ADR-component-street   = list-component
>     ADR-component-locality = list-component
>     ADR-component-region   = list-component
>     ADR-component-code     = list-component
>     ADR-component-country  = list-component
> 
> Simon
> -- 
> DTN made easy, lean, and smart --> http://postellation.viagenie.ca
> NAT64/DNS64 open-source        --> http://ecdysis.viagenie.ca
> STUN/TURN server               --> http://numb.viagenie.ca
> _______________________________________________
> VCARDDAV mailing list
> VCARDDAV@ietf.org
> https://www.ietf.org/mailman/listinfo/vcarddav