Re: [VCARDDAV] xCard cardinality

Simon Perreault <simon.perreault@viagenie.ca> Mon, 18 June 2012 14:27 UTC

Return-Path: <simon.perreault@viagenie.ca>
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 75F8221F8692 for <vcarddav@ietfa.amsl.com>; Mon, 18 Jun 2012 07:27:41 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ww1JbnLjJg3D for <vcarddav@ietfa.amsl.com>; Mon, 18 Jun 2012 07:27:40 -0700 (PDT)
Received: from jazz.viagenie.ca (unknown [IPv6:2620:0:230:8000:226:55ff:fe57:14db]) by ietfa.amsl.com (Postfix) with ESMTP id C94BC21F8658 for <vcarddav@ietf.org>; Mon, 18 Jun 2012 07:27:40 -0700 (PDT)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c064:ec6c:4066:6efd:d9f4]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 3F22A412F6 for <vcarddav@ietf.org>; Mon, 18 Jun 2012 10:27:40 -0400 (EDT)
Message-ID: <4FDF3ADB.7070005@viagenie.ca>
Date: Mon, 18 Jun 2012 10:27:39 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1
MIME-Version: 1.0
To: vcarddav@ietf.org
References: <2E924EFC-7169-48D2-A3FB-02765C07423A@iannella.it>
In-Reply-To: <2E924EFC-7169-48D2-A3FB-02765C07423A@iannella.it>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
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: Mon, 18 Jun 2012 14:27:41 -0000

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