W3C home > Mailing lists > Public > www-international@w3.org > October to December 2014

Re: "International" email addresses [I18N-ACTION-374]

From: Asmus Freytag <asmusf@ix.netcom.com>
Date: Thu, 20 Nov 2014 09:05:04 -0800
Message-ID: <546E1F40.8040305@ix.netcom.com>
To: "Phillips, Addison" <addison@lab126.com>, Steven Pemberton <Steven.Pemberton@cwi.nl>
CC: www-international@w3.org, Forms WG <public-forms@w3.org>
On 11/20/2014 8:37 AM, Phillips, Addison wrote:
> As Shawn and John note, a regex description of IDNA is probably 
> impossible. At best, such a regex would be an approximation.
>
>
The problem is not that it's impossible to do a rigorous description 
(essentially a regex) of the IDN rules for a given zone, but that the 
description varies along the tree, and that the knowledge of the rules 
that apply at each level is imperfect.

As I mentioned, there's an effort underway to define an XML format that 
allows one to capture any known descriptions in (essentially) a 
regex-like format expressed in XML that can be parsed and evaluated by a 
common engine.

If/when IANA's registry gets converted to this format, you should be 
able to do IDN validation, down to the second level at least, to any 
level of desired accuracy by querying the correct tables (or able to 
build approximate regexes with known degrees of accuracy - because you 
could then test them against any published full specifications).

Anyway, you find a draft here: 
https://datatracker.ietf.org/doc/draft-davies-idntables/

A./
Received on Thursday, 20 November 2014 17:05:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 21 September 2016 22:37:38 UTC