[core] ABNF for draft-core-dev-urn

Cullen Jennings <fluffy@iii.ca> Mon, 07 October 2019 22:22 UTC

Return-Path: <fluffy@iii.ca>
X-Original-To: core@ietfa.amsl.com
Delivered-To: core@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E8D771200A4 for <core@ietfa.amsl.com>; Mon, 7 Oct 2019 15:22:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oGMhBXYnTJaA for <core@ietfa.amsl.com>; Mon, 7 Oct 2019 15:22:25 -0700 (PDT)
Received: from smtp80.iad3b.emailsrvr.com (smtp80.iad3b.emailsrvr.com [146.20.161.80]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7A9D6120073 for <core@ietf.org>; Mon, 7 Oct 2019 15:22:25 -0700 (PDT)
X-Auth-ID: fluffy@iii.ca
Received: by smtp11.relay.iad3b.emailsrvr.com (Authenticated sender: fluffy-AT-iii.ca) with ESMTPSA id 4BBA2400A4; Mon, 7 Oct 2019 18:22:24 -0400 (EDT)
X-Sender-Id: fluffy@iii.ca
Received: from [10.1.3.91] (d75-155-57-73.abhsia.telus.net [75.155.57.73]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:25 (trex/5.7.12); Mon, 07 Oct 2019 18:22:24 -0400
From: Cullen Jennings <fluffy@iii.ca>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\))
Date: Mon, 07 Oct 2019 16:22:22 -0600
Message-Id: <EEA47400-71EA-489E-A127-FEAD740B613F@iii.ca>
To: core <core@ietf.org>, Jari Arkko <jari.arkko@piuha.net>
X-Mailer: Apple Mail (2.3445.104.11)
Archived-At: <https://mailarchive.ietf.org/arch/msg/core/Lf4dRyMollntskkG2mSm7tfmeB8>
Subject: [core] ABNF for draft-core-dev-urn
X-BeenThere: core@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Constrained RESTful Environments \(CoRE\) Working Group list" <core.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/core>, <mailto:core-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/core/>
List-Post: <mailto:core@ietf.org>
List-Help: <mailto:core-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/core>, <mailto:core-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Oct 2019 22:22:27 -0000

I was looking at the ABNF for this URN and the extensibility seemed slight wrong. 

We allow identifiers to be made out the characters ( ALPHA / DIGIT / "-" / “.” ) but component  are restricted to ( ALPHA / DIGIT ).

I don’t see any reason for this and suspect it was just a simple oversight. I have submitted a PR make the characters allowed in an component be the same as the identifier. 

The PR also just simplifies the ABNF and allows future URN to be defined using more “:” after the first subtype. 

The PR is at https://github.com/jariarkko/core-dev-urn/pull/3

Let me know if there are any problems with this 

Thanks, Cullen