Re: empty quoted strings and other oddities

Keith Moore <moore@cs.utk.edu> Tue, 01 October 2002 15:13 UTC

Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id g91FDkS08343 for ietf-822-bks; Tue, 1 Oct 2002 08:13:46 -0700 (PDT)
Received: from astro.cs.utk.edu (astro.cs.utk.edu [160.36.58.43]) by above.proper.com (8.11.6/8.11.3) with ESMTP id g91FDjv08339 for <ietf-822@imc.org>; Tue, 1 Oct 2002 08:13:45 -0700 (PDT)
Received: from astro.cs.utk.edu (localhost [127.0.0.1]) by astro.cs.utk.edu (cf 8.9.3) with ESMTP id g91FDk027592 for <ietf-822@imc.org>; Tue, 1 Oct 2002 11:13:46 -0400 (EDT)
Message-Id: <200210011513.g91FDk027592@astro.cs.utk.edu>
X-URI: http://www.cs.utk.edu/~moore/
From: Keith Moore <moore@cs.utk.edu>
To: ietf-822@imc.org
Subject: Re: empty quoted strings and other oddities
In-reply-to: (Your message of "Mon, 30 Sep 2002 23:49:10 EDT.") <3D991B36.1070700@alex.blilly.com>
Date: Tue, 01 Oct 2002 11:13:46 -0400
Sender: owner-ietf-822@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-822/mail-archive/>
List-ID: <ietf-822.imc.org>
List-Unsubscribe: <mailto:ietf-822-request@imc.org?body=unsubscribe>

> RFC 2822 permits (as did 822) a quoted string which
> consists solely of a pair of DQUOTE characters.  It's
> not clear what the semantics of that are or ought to be.

it doesn't have to have semantics, since quoted-strings
can be used in places where they are opaque.  if someone wants their 
email address to be ""@example.com this is perfectly legal.

> Likewise, a domain literal can consist solely of the
> square brackets.

so? there are lots of addresses which are valid syntax but 
not valid because the domain is not defined or the IP
address (in the domain literal) does not exist or is not
assigned to a host.

Keith