W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: 4.10.4.1.5 E-mail state

From: Thomas Broyer <t.broyer@ltgt.net>
Date: Mon, 14 Sep 2009 17:51:01 +0200
Message-ID: <a9699fd20909140851k114c00efw5187a1964c01698e@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: "public-html@w3.org" <public-html@w3.org>
On Mon, Sep 14, 2009 at 2:11 PM, Ian Hickson wrote:
> On Tue, 8 Sep 2009, Thomas Broyer wrote:
>>
>> ...and AFAICT, the definition in HTML5 is equivalent to the one in RFC
>> 5321 with one exception: HTML5 allows a "sub-domain" starting with an
>> hyphen (e.g. foo@-bar.-quux.com)
>
> 5321 also allows a number of things HTML5 doesn't allow:
>
>  - quoted-string local-part (" "@example.com)

You're right, Local-Part allows quoted strings, so let's stick with
1*( atext / "." ) for the local-part in HTML5.

>  - domain part with only one domain label (a@invalid)

Er, right... misread the 1*() in HTML5 and *() in RFC 5322, sorry.

>  - IPv4 and IPv6 domain parts (a@[10.20.30.40])
>  - "general address literals"

Not in the Domain production (I wasn't suggesting borrowing the
Mailbox production from RFC 5321, but "local-part@domain").

Anyway, even if we don't change the current production; the draft can
just reference RFC 5321 instead of RFC1034+RFC5322, as it defines both
atext and ldh-str.

-- 
Thomas Broyer
/tɔ.ma.bʁwa.je/
Received on Monday, 14 September 2009 15:51:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT