[VCARDDAV] Making ADR's ABNF more verbose

Simon Perreault <simon.perreault@viagenie.ca> Thu, 04 November 2010 17:00 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 8E9F13A69E4 for <vcarddav@core3.amsl.com>; Thu, 4 Nov 2010 10:00:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.528
X-Spam-Level:
X-Spam-Status: No, score=-2.528 tagged_above=-999 required=5 tests=[AWL=0.072, 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 9WIpIWmcEZMQ for <vcarddav@core3.amsl.com>; Thu, 4 Nov 2010 10:00:18 -0700 (PDT)
Received: from jazz.viagenie.ca (jazz.viagenie.ca [IPv6:2620:0:230:8000::2]) by core3.amsl.com (Postfix) with ESMTP id 7AFA23A6928 for <vcarddav@ietf.org>; Thu, 4 Nov 2010 10:00:18 -0700 (PDT)
Received: from ringo.viagenie.ca (unknown [IPv6:2620:0:230:c000:b82a:d3a0:34a5:db78]) by jazz.viagenie.ca (Postfix) with ESMTPSA id 49A2A20D16; Thu, 4 Nov 2010 13:00:28 -0400 (EDT)
Message-ID: <4CD2E6AB.5060404@viagenie.ca>
Date: Thu, 04 Nov 2010 13:00:27 -0400
From: Simon Perreault <simon.perreault@viagenie.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc14 Thunderbird/3.1.6
MIME-Version: 1.0
To: Rohit Khare <Rohit@Khare.org>
References: <2B2DCE4A-4AC8-4C21-88CA-597A8123C809@Khare.org>
In-Reply-To: <2B2DCE4A-4AC8-4C21-88CA-597A8123C809@Khare.org>
X-Enigmail-Version: 1.1.2
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 8bit
Cc: vcarddav@ietf.org
Subject: [VCARDDAV] Making ADR's ABNF more verbose
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: Thu, 04 Nov 2010 17:00:19 -0000

On 2010-10-12 02:42, Rohit Khare wrote:
> * 6.3.1 positional notation isn’t that much better than CSV, is it
> really? Even if it is mandated by some other standard (and a citation at
> this point in the doc would be helpful, why not make the ABNF more
> developer-friendly by actually marking tokens, in order, for each of the
> levels. I don’t want to see devs counting ;s…

Makes sense. I wrote this for the next version:

  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
-- 
NAT64/DNS64 open-source --> http://ecdysis.viagenie.ca
STUN/TURN server        --> http://numb.viagenie.ca
vCard 4.0               --> http://www.vcarddav.org