Subject: RFC4234 Errata

From: <[email-masked]>
Date: Mon, 18 Sep 2006 18:16:00 +0300

Hi there,
I wish to submit an errata for RFC4234 - I communicated these to the authors, however they asked me to submit the errata.

Suspected errors:
(1)
3.4.  Value Range Alternatives:  %c##-##

   A range of alternative numeric values can be specified compactly,
   using dash ("-") to indicate the range of alternative values.  Hence:

         DIGIT       =  %x30-39

   is equivalent to:

         DIGIT       =  "0" / "1" / "2" / "3" / "4" / "5" / "6" /

                        "7" / "8" / "9"
The word equivalent is correct only when US-ASCII character set is used, since:
DIGIT       =  %x30-39 ; means any hexadecimal value between 0x30 and 0x39, while
DIGIT       =  "0" / "1" / "2" / "3" / "4" / "5" / "6" / "7" / "8" / "9" ; means any digit from 0 thru 9.

(2)
         CHAR           =  %x01-7F
                                ; any 7-bit US-ASCII character,
                                ;  excluding NUL
NUL is not defined.

Suggestions:
(1)
Re-write the document in a character-encoding-independent manner.
(2)
Add definition of NUL (or NULL) as terminating null character - watch out for character encoding!
(3)
Add definition of NOTNULL as any character but terminating null character - watch out for character encoding!

Thank You.

Best regards: Zoltán Ördögh
E-mail: zoltan dot ordogh at nokia dot com
Phone: +358 50 386 0566