Re: [apps-discuss] Fwd: Willful violation of RFC in HTML5

Dave Cridland <dave@cridland.net> Mon, 25 July 2011 16:58 UTC

Return-Path: <dave@cridland.net>
X-Original-To: apps-discuss@ietfa.amsl.com
Delivered-To: apps-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A222521F874F for <apps-discuss@ietfa.amsl.com>; Mon, 25 Jul 2011 09:58:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.534
X-Spam-Level:
X-Spam-Status: No, score=-2.534 tagged_above=-999 required=5 tests=[AWL=0.065, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XLY8sv3PSBZf for <apps-discuss@ietfa.amsl.com>; Mon, 25 Jul 2011 09:58:57 -0700 (PDT)
Received: from peirce.dave.cridland.net (peirce.dave.cridland.net [IPv6:2001:470:1f09:882:2e0:81ff:fe29:d16a]) by ietfa.amsl.com (Postfix) with ESMTP id BAA5921F87AF for <apps-discuss@ietf.org>; Mon, 25 Jul 2011 09:58:53 -0700 (PDT)
Received: from localhost (peirce.dave.cridland.net [127.0.0.1]) by peirce.dave.cridland.net (Postfix) with ESMTP id 7BF1B1168087; Mon, 25 Jul 2011 17:58:31 +0100 (BST)
X-Virus-Scanned: Debian amavisd-new at peirce.dave.cridland.net
Received: from peirce.dave.cridland.net ([127.0.0.1]) by localhost (peirce.dave.cridland.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0Wda96-Rl1zL; Mon, 25 Jul 2011 17:58:28 +0100 (BST)
Received: from puncture (puncture.dave.cridland.net [IPv6:2001:470:1f09:882:221:85ff:fe3f:1696]) by peirce.dave.cridland.net (Postfix) with ESMTPA id 2E52F1168067; Mon, 25 Jul 2011 17:58:28 +0100 (BST)
References: <1311600852.1459.740.camel@chacal> <B1A4C5CA-A053-46FD-BC43-AC8435B8E296@mnot.net>
In-Reply-To: <B1A4C5CA-A053-46FD-BC43-AC8435B8E296@mnot.net>
MIME-Version: 1.0
Message-Id: <9031.1311613108.174237@puncture>
Date: Mon, 25 Jul 2011 17:58:28 +0100
From: Dave Cridland <dave@cridland.net>
To: Mark Nottingham <mnot@mnot.net>, General discussion of application-layer protocols <apps-discuss@ietf.org>
Content-Type: text/plain; delsp="yes"; charset="us-ascii"; format="flowed"
Subject: Re: [apps-discuss] Fwd: Willful violation of RFC in HTML5
X-BeenThere: apps-discuss@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: General discussion of application-layer protocols <apps-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/apps-discuss>
List-Post: <mailto:apps-discuss@ietf.org>
List-Help: <mailto:apps-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/apps-discuss>, <mailto:apps-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2011 16:58:57 -0000

On Mon Jul 25 15:55:06 2011, Mark Nottingham wrote:
> > [[
> > This requirement is a willful violation of RFC 5322, which  
> defines a
> > syntax for e-mail addresses that is simultaneously too strict  
> (before
> > the "@" character), too vague (after the "@" character), and too  
> lax
> > (allowing comments, white space characters, and quoted strings in
> > manners unfamiliar to most users) to be of practical use here.
> > ]]
> >  
> http://www.w3.org/TR/html5/states-of-the-type-attribute.html#e-mail-state
> >

As an observation, addresses using whitescape and quoted strings are  
still commonplace in MIXER environments, and while I have no view on  
how common X.400 MIXER-mapped addresses might be in HTML5  
applications, it would appear that this would be difficult.

Also, the ABNF specified in the document not only fails to allow all  
email addresses, but also does allow invalid email addresses. A  
better choice would be to make the local-part be dot-atom-text.

Dave.
-- 
Dave Cridland - mailto:dave@cridland.net - xmpp:dwd@dave.cridland.net
  - acap://acap.dave.cridland.net/byowner/user/dwd/bookmarks/
  - http://dave.cridland.net/
Infotrope Polymer - ACAP, IMAP, ESMTP, and Lemonade