W3C home > Mailing lists > Public > www-validator@w3.org > October 2007

top level domain name in "author" tag of RSS feed.

From: Stephane Saux <ssaux@sfgate.com>
Date: Mon, 15 Oct 2007 13:38:36 -0700
Message-ID: <4713CFCC.1050000@sfgate.com>
To: www-validator@w3.org

The feed validator reports a validation error whenever it considers an 
email address to be invalid.
In particular some checking of the top-level domain name is performed. 
After some investigation, I've concluded that the validator will accept 
anything with a top-level domain name that has 2 to 4 characters:
http://www.sfgate.com/test/ssaux/feed-one-topdomain.xml
http://www.sfgate.com/test/ssaux/feed-two-topdomain.xml
http://www.sfgate.com/test/ssaux/feed-four-topdomain.xml
http://www.sfgate.com/test/ssaux/feed-five-topdomain.xml

However, the list of top-level domain names include some that have more 
than four characters, including "travel" and "museum" (and some realy 
wacky ones: 'XN--11B5BS3A9AJ6G')

So the validator could be both stricter (only accept 2-3-and 4-letter 
top domain name in the list,) and more tolerant (a corollary, accept 
longer top-level domain name.)

The list of top-level-domain name maintain by ICANN is available here:
http://data.iana.org/TLD/tlds-alpha-by-domain.txt
http://www.icann.org/registries/top-level-domains.htm

regards,
Stephane.

NOTE: Whenever possible, give the address of the document you were checking.

-- 
Stephane Saux
Technical Director
ssaux@sfgate.com
415-777-7749
http://sfgate.com
Received on Tuesday, 16 October 2007 03:33:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:26 GMT