Re: [URN] Re: RFC 2141 on URN Syntax

"Ryan Moats" <jayhawk@att.com> Fri, 09 May 1997 19:03 UTC

Received: (from daemon@localhost) by services.bunyip.com (8.8.5/8.8.5) id PAA13556 for urn-ietf-out; Fri, 9 May 1997 15:03:43 -0400 (EDT)
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1]) by services.bunyip.com (8.8.5/8.8.5) with ESMTP id PAA13550 for <urn-ietf@services.bunyip.com>; Fri, 9 May 1997 15:03:40 -0400 (EDT)
Received: from privateer.windrose.omaha.ne.us (privateer.windrose.omaha.ne.us [206.101.78.33]) by mocha.bunyip.com (8.8.5/8.8.5) with SMTP id PAA23685 for <urn-ietf@bunyip.com>; Fri, 9 May 1997 15:03:37 -0400 (EDT)
Message-Id: <199705091903.PAA23685@mocha.bunyip.com>
Received: by privateer.windrose.omaha.ne.us; Fri May 9 14:04 CDT 1997
From: Ryan Moats <jayhawk@att.com>
To: "Ron Daniel, Jr." <rdaniel@lanl.gov>, Sukanta Ganguly <SGANGULY@novell.com>
Cc: "urn-ietf@bunyip.com" <urn-ietf@bunyip.com>
Date: Fri, 09 May 1997 14:08:42 -0000
Priority: Normal
X-Mailer: PMMail 1.91 For OS/2
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Subject: Re: [URN] Re: RFC 2141 on URN Syntax
Sender: owner-urn-ietf@Bunyip.Com
Precedence: bulk
Reply-To: Ryan Moats <jayhawk@att.com>
Errors-To: owner-urn-ietf@Bunyip.Com

On Fri, 09 May 1997 10:08:42 -0600, Ron Daniel, Jr. wrote:

>>I have a similar concern regarding the usage of "%" character within the
>><NSS> subsection. This is what the rule resolution says 
>><NSS> ::= 1*<URN chars>
>><URN chars> ::= <trans> | "%" <hex> <hex>
>><trans> ::= <upper> | <lower> | <number> | <other> | <reserved>
>><reserved> ::= '%" | "/" | "?" | "#"
>>
>>Here we observe that 
>>
>>  <NSS> ::= %    could be a valid rule according to the  rule definition. At
>>the same time the system has another defination that says wheneever "%" is
>>used two  <hex> characters should be used.
>>
>>  <NSS> ::=%%12  -> could also be a valid syntax for NSS.  
>>
>>My suggestion here is to remove "%" from the <reserved> subsection of <NSS>
>>rules.
>>
>>Please let me know if my thinking is along the lines of what the group has
>>in mind or am I way out of wack.
>
>Single occurances of '%' are disallowed. '%' is supposed to ALWAYS mean
>that the next two characters will be hex digits that are taken to
>form an octet.

This is a case of the RFC being ahead of an ABNF specification.
draft-ietf-urn-syntax-05.txt has the ABNF specification "aligned"
with draft-ietf-drums-abnf-02.txt.  There, the definition is

URN chars = trans | ( "%" hex hex)

Otherwise Ron is right.  There is text in RFC 2141 that specifically
says "%" by itself is not allowed and that a "%" character MUST
be followed by two "hex" characters so both NSS containing "%" above
are incorrect syntax.

Ryan