Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ABNF for URN
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Generic Usenet Account  
View profile  
 More options Apr 6 2011, 7:25 pm
Newsgroups: comp.sources.d
From: Generic Usenet Account <use...@sta.samsung.com>
Date: Wed, 6 Apr 2011 16:25:08 -0700 (PDT)
Local: Wed, Apr 6 2011 7:25 pm
Subject: ABNF for URN
Hello,

I have arrived at the following ABNF for URN by combining RFC 2141 and
RFC 5234.  Can someone kindly let me know whether I got it right?

Thanks,
Gus

--------------------------------------------------------------------------- -------------------------------------------------------------------

URN            = "urn:" NID ":" NSS
NID            = LET-NUM [ 1*31LET-NUM-HYP ]
LET-NUM-HYP    = UPPER / LOWER / NUMBER / "-"
LET-NUM        = UPPER / LOWER / NUMBER
UPPER          = "A" / "B" / "C" / "D" / "E" / "F" / "G" / "H" /
                 "I" / "J" / "K" / "L" / "M" / "N" / "O" / "P" /
                 "Q" / "R" / "S" / "T" / "U" / "V" / "W" / "X" /
                 "Y" / "Z"
LOWER          = "a" / "b" / "c" / "d" / "e" / "f" / "g" / "h" /
                 "i" / "j" / "k" / "l" / "m" / "n" / "o" / "p" /
                 "q" / "r" / "s" / "t" / "u" / "v" / "w" / "x" /
                 "y" / "z"
NUMBER         = "0" / "1" / "2" / "3" / "4" / "5" / "6" / "7" /
                 "8" / "9"
NSS            = 1*URNchars
URNchars       = TRANS / "%" HEX HEX
TRANS          = UPPER / LOWER / NUMBER / other / reserved
HEX            = NUMBER / "A" / "B" / "C" / "D" / "E" / "F" /
                 "a" / "b" / "c" / "d" / "e" / "f"
other          = "(" / ")" / "+" / "," / "-" / "." /
                 ":" / "=" / "@" / ";" / "$" /
                 "_" / "!" / "*" / "'"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Generic Usenet Account  
View profile  
 More options Apr 7 2011, 12:59 am
Newsgroups: comp.sources.d
From: Generic Usenet Account <use...@sta.samsung.com>
Date: Wed, 6 Apr 2011 21:59:28 -0700 (PDT)
Local: Thurs, Apr 7 2011 12:59 am
Subject: Re: ABNF for URN
On Apr 6, 6:25 pm, Generic Usenet Account <use...@sta.samsung.com>
wrote:

> Hello,

> I have arrived at the following ABNF for URN by combining RFC 2141 and
> RFC 5234.  Can someone kindly let me know whether I got it right?

> Thanks,
> Gus

The ABNF spec RFC 5234 seems to define only the following "Core
Rules".  Are these adequate?

         ALPHA          =  %x41-5A / %x61-7A   ; A-Z / a-z

         BIT            =  "0" / "1"

         CHAR           =  %x01-7F
                                ; any 7-bit US-ASCII character,
                                ;  excluding NUL

         CR             =  %x0D
                                ; carriage return

         CRLF           =  CR LF
                                ; Internet standard newline

         CTL            =  %x00-1F / %x7F
                                ; controls

         DIGIT          =  %x30-39
                                ; 0-9

         DQUOTE         =  %x22
                                ; " (Double Quote)

         HEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F"

         HTAB           =  %x09
                                ; horizontal tab

         LF             =  %x0A
                                ; linefeed

         LWSP           =  *(WSP / CRLF WSP)
                                ; Use of this linear-white-space rule
                                ;  permits lines containing only white
                                ;  space that are no longer legal in
                                ;  mail headers and have caused
                                ;  interoperability problems in other
                                ;  contexts.
                                ; Do not use when defining mail
                                ;  headers and use with caution in
                                ;  other contexts.

         OCTET          =  %x00-FF
                                ; 8 bits of data

         SP             =  %x20

         VCHAR          =  %x21-7E
                                ; visible (printing) characters

         WSP            =  SP / HTAB
                                ; white space


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Generic Usenet Account  
View profile  
 More options Apr 8 2011, 12:34 am
Newsgroups: comp.sources.d
From: Generic Usenet Account <use...@sta.samsung.com>
Date: Thu, 7 Apr 2011 21:34:30 -0700 (PDT)
Local: Fri, Apr 8 2011 12:34 am
Subject: Re: ABNF for URN
On Apr 6, 6:25 pm, Generic Usenet Account <use...@sta.samsung.com>
wrote:

> Hello,

> I have arrived at the following ABNF for URN by combining RFC 2141 and
> RFC 5234.  Can someone kindly let me know whether I got it right?

> Thanks,
> Gus

Here's the complete ABNF.  Apologies for the previous posting, which
had some omissions:
URN            = "urn:" NID ":" NSS
                 ; Always starts with the string "urn:"

NID            = LET-NUM [ 1*31LET-NUM-HYP ]
                 ; Max length 31

LET-NUM-HYP    = UPPER / LOWER / NUMBER / "-"

LET-NUM        = UPPER / LOWER / NUMBER

UPPER          = "A" / "B" / "C" / "D" / "E" / "F" / "G" / "H" /
                 "I" / "J" / "K" / "L" / "M" / "N" / "O" / "P" /
                 "Q" / "R" / "S" / "T" / "U" / "V" / "W" / "X" /
                 "Y" / "Z"

LOWER          = "a" / "b" / "c" / "d" / "e" / "f" / "g" / "h" /
                 "i" / "j" / "k" / "l" / "m" / "n" / "o" / "p" /
                 "q" / "r" / "s" / "t" / "u" / "v" / "w" / "x" /
                 "y" / "z"

NUMBER         = "0" / "1" / "2" / "3" / "4" / "5" / "6" / "7" /
                 "8" / "9"

NSS            = 1*URNchars

URNchars       = TRANS / "%" HEX HEX

TRANS          = UPPER / LOWER / NUMBER / OTHER / RESERVED

HEX            = NUMBER / "A" / "B" / "C" / "D" / "E" / "F" /
                 "a" / "b" / "c" / "d" / "e" / "f"

OTHER          = "(" / ")" / "+" / "," / "-" / "." /
                 ":" / "=" / "@" / ";" / "$" /
                 "_" / "!" / "*" / "'"

RESERVED       = '%" / "/" / "?" / "#"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »