Subversion Repositories javautils

Compare Revisions

No changes between revisions

Regard whitespace Rev 22 → Rev 21

/ViaThinkSoft Java Utils/test/eMailTests/mailValidatorTests.xsd
File deleted
\ No newline at end of file
Property changes:
Deleted: svn:mime-type
-text/plain
\ No newline at end of property
/ViaThinkSoft Java Utils/test/eMailTests/ExperimentalTests.xml
1,20 → 1,24
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE tests>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
Umlaute sind nicht erlaubt Anmerkung: Die Übersetzung in den Punnycode
muss durch den Clienten stattfinden TODO: Sollen diese Adressen
trotzdem zugelassen werden? * müller@compuglobal.org" => false *
"test@müller.de" => false * "müller@müllermilch.de" => false
 
Umlaute sind nicht erlaubt
Anmerkung: Die Übersetzung in den Punnycode muss durch den Clienten
stattfinden
TODO: Sollen diese Adressen trotzdem zugelassen werden?
 
* müller@compuglobal.org" => false
* "test@müller.de" => false
* "müller@müllermilch.de" => false
 
-->
<tests xmlns="http://www.w3.org/2001/XMLSchema-instance"
SchemaLocation="mailValidatorTests.xsd">
<tests>
<test>
<addresse>info@compuglobal.org</addresse>
<address>info@compuglobal.org</address>
<valid>true</valid>
<source />
<comment />
<sourcelink />
<id>T9000</id>
<id>9000</id>
</test>
<test>
<address>info@example.eu</address>
22,7 → 26,7
<source />
<comment />
<sourcelink />
<id>T9001</id>
<id>9001</id>
</test>
<test>
<address>info@example.uk</address>
30,7 → 34,7
<source />
<comment />
<sourcelink />
<id>T9002</id>
<id>9002</id>
</test>
<test>
<address>info@example.co.uk</address>
38,7 → 42,7
<source />
<comment />
<sourcelink />
<id>T9003</id>
<id>9003</id>
</test>
<test>
<address>info@example.ltd.uk</address>
46,7 → 50,7
<source />
<comment />
<sourcelink />
<id>T9004</id>
<id>9004</id>
</test>
<test>
<address>info@example.asso.fr</address>
54,7 → 58,7
<source />
<comment />
<sourcelink />
<id>T9005</id>
<id>9005</id>
</test>
<test>
<address>info@example.mil</address>
62,7 → 66,7
<source />
<comment />
<sourcelink />
<id>T9006</id>
<id>9006</id>
</test>
<test>
<address>example@example.com</address>
70,7 → 74,7
<source />
<comment />
<sourcelink />
<id>T9007</id>
<id>9007</id>
</test>
<test>
<address>john@server.department.company.com</address>
78,7 → 82,7
<source />
<comment />
<sourcelink />
<id>T9008</id>
<id>9008</id>
</test>
<test>
<address>test &lt;mail@test.de&gt;</address>
86,7 → 90,7
<source />
<comment />
<sourcelink />
<id>T9009</id>
<id>9009</id>
</test>
<test>
<address>INFO@COMPUGLOBAL.ORG</address>
94,7 → 98,7
<source />
<comment />
<sourcelink />
<id>T9010</id>
<id>9010</id>
</test>
<test>
<address>info@compuglobal.org info@compuglobal.org</address>
102,7 → 106,7
<source />
<comment />
<sourcelink />
<id>T9011</id>
<id>9011</id>
</test>
<test>
<address>info@compuglobal.org, info@compuglobal.org</address>
110,7 → 114,7
<source />
<comment />
<sourcelink />
<id>T9012</id>
<id>9012</id>
</test>
<test>
<address>info@compuglobal.org; info@compuglobal.org</address>
118,7 → 122,7
<source />
<comment />
<sourcelink />
<id>T9013</id>
<id>9013</id>
</test>
<test>
<address>info@compuglobal.org </address>
126,7 → 130,7
<source />
<comment />
<sourcelink />
<id>T9014</id>
<id>9014</id>
</test>
<test>
<address> info@compuglobal.org </address>
134,7 → 138,7
<source />
<comment />
<sourcelink />
<id>T9015</id>
<id>9015</id>
</test>
<test>
<address>
143,12 → 147,14
info@compuglobal.org
 
 
&#13; </address>
&#13;
</address>
<valid>true</valid>
<source />
<comment />
<sourcelink />
<id>T9016</id>
<id>9016</id>
</test>
<test>
<address>invalid@test@example.com</address>
156,7 → 162,7
<source />
<comment />
<sourcelink />
<id>T9017</id>
<id>9017</id>
</test>
<test>
<address>invalidexample.com</address>
164,7 → 170,7
<source />
<comment />
<sourcelink />
<id>T9018</id>
<id>9018</id>
</test>
<test>
<address>john@aol...com</address>
172,7 → 178,7
<source />
<comment />
<sourcelink />
<id>T9019</id>
<id>9019</id>
</test>
<test>
<address>john@aol...aol.com</address>
180,7 → 186,7
<source />
<comment />
<sourcelink />
<id>T9020</id>
<id>9020</id>
</test>
<test>
<address>test@invalid</address>
188,7 → 194,7
<source />
<comment />
<sourcelink />
<id>T9021</id>
<id>9021</id>
</test>
<test>
<address>invalid</address>
196,7 → 202,7
<source />
<comment />
<sourcelink />
<id>T9022</id>
<id>9022</id>
</test>
<test>
<address />
204,7 → 210,7
<source />
<comment />
<sourcelink />
<id>T9023</id>
<id>9023</id>
</test>
<test>
<address>hallo@127.0.0.1</address>
212,7 → 218,7
<source />
<comment />
<sourcelink />
<id>T9024</id>
<id>9024</id>
</test>
<test>
<address>hallo@[127.0.0.1]</address>
220,7 → 226,7
<source />
<comment />
<sourcelink />
<id>T9025</id>
<id>9025</id>
</test>
<test>
<address>Arabic@مثال.إختبار</address>
228,7 → 234,7
<source />
<comment />
<sourcelink />
<id>T9026</id>
<id>9026</id>
</test>
<test>
<address>Persian@مثال.آزمایشی</address>
236,7 → 242,7
<source />
<comment />
<sourcelink />
<id>T9027</id>
<id>9027</id>
</test>
<test>
<address>ChineseSimplified@例子.测试</address>
244,7 → 250,7
<source />
<comment />
<sourcelink />
<id>T9028</id>
<id>9028</id>
</test>
<test>
<address>ChineseTraditional@例子.測試</address>
252,7 → 258,7
<source />
<comment />
<sourcelink />
<id>T9029</id>
<id>9029</id>
</test>
<test>
<address>Cyrillic@пример.испытание</address>
260,7 → 266,7
<source />
<comment />
<sourcelink />
<id>T9030</id>
<id>9030</id>
</test>
<test>
<address>Hindi@उदाहरण.परीक्षा</address>
268,7 → 274,7
<source />
<comment />
<sourcelink />
<id>T9031</id>
<id>9031</id>
</test>
<test>
<address>Greek@παράδειγμα.δοκιμή</address>
276,7 → 282,7
<source />
<comment />
<sourcelink />
<id>T9032</id>
<id>9032</id>
</test>
<test>
<address>Korean@실례.테스트</address>
284,7 → 290,7
<source />
<comment />
<sourcelink />
<id>T9033</id>
<id>9033</id>
</test>
<test>
<address>YiddishHebrew@בײַשפּיל.טעסט</address>
292,7 → 298,7
<source />
<comment />
<sourcelink />
<id>T9034</id>
<id>9034</id>
</test>
<test>
<address>Japanese@例え.テスト</address>
300,7 → 306,7
<source />
<comment />
<sourcelink />
<id>T9035</id>
<id>9035</id>
</test>
<test>
<address>Tamil@உதாரணம்.பரிட்சை</address>
308,7 → 314,7
<source />
<comment />
<sourcelink />
<id>T9036</id>
<id>9036</id>
</test>
<test>
<address>Arabic@xn--mgbh0fb.xn--kgbechtv</address>
316,7 → 322,7
<source />
<comment />
<sourcelink />
<id>T9037</id>
<id>9037</id>
</test>
<test>
<address>Persian@xn--mgbh0fb.xn--hgbk6aj7f53bba</address>
324,7 → 330,7
<source />
<comment />
<sourcelink />
<id>T9038</id>
<id>9038</id>
</test>
<test>
<address>ChineseSimplified@xn--fsqu00a.xn--0zwm56d</address>
332,7 → 338,7
<source />
<comment />
<sourcelink />
<id>T9039</id>
<id>9039</id>
</test>
<test>
<address>ChineseTraditional@xn--fsqu00a.xn--g6w251d</address>
340,7 → 346,7
<source />
<comment />
<sourcelink />
<id>T9040</id>
<id>9040</id>
</test>
<test>
<address>Cyrillic@xn--e1afmkfd.xn--80akhbyknj4f</address>
348,7 → 354,7
<source />
<comment />
<sourcelink />
<id>T9041</id>
<id>9041</id>
</test>
<test>
<address>Hindi@xn--p1b6ci4b4b3a.xn--11b5bs3a9aj6g</address>
356,7 → 362,7
<source />
<comment />
<sourcelink />
<id>T9042</id>
<id>9042</id>
</test>
<test>
<address>Greek@xn--hxajbheg2az3al.xn--jxalpdlp</address>
364,7 → 370,7
<source />
<comment />
<sourcelink />
<id>T9043</id>
<id>9043</id>
</test>
<test>
<address>Korean@xn--9n2bp8q.xn--9t4b11yi5a</address>
372,7 → 378,7
<source />
<comment />
<sourcelink />
<id>T9044</id>
<id>9044</id>
</test>
<test>
<address>YiddishHebrew@xn--fdbk5d8ap9b8a8d.xn--deba0ad</address>
380,7 → 386,7
<source />
<comment />
<sourcelink />
<id>T9045</id>
<id>9045</id>
</test>
<test>
<address>Japanese@xn--r8jz45g.xn--zckzah</address>
388,7 → 394,7
<source />
<comment />
<sourcelink />
<id>T9046</id>
<id>9046</id>
</test>
<test>
<address>Tamil@xn--zkc6cc5bi7f6e.xn--hlcj6aya9esc7a</address>
396,7 → 402,7
<source />
<comment />
<sourcelink />
<id>T9047</id>
<id>9047</id>
</test>
<test>
<address>root</address>
404,7 → 410,7
<source />
<comment />
<sourcelink />
<id>T9048</id>
<id>9048</id>
</test>
<test>
<address>a@b.c</address>
412,7 → 418,7
<source />
<comment />
<sourcelink />
<id>T9049</id>
<id>9049</id>
</test>
<test>
<address>me@.my.com</address>
420,7 → 426,7
<source />
<comment />
<sourcelink />
<id>T9050</id>
<id>9050</id>
</test>
<test>
<address>hello world@example.com</address>
428,7 → 434,7
<source />
<comment />
<sourcelink />
<id>T9051</id>
<id>9051</id>
</test>
<test>
<address>test.@example.com</address>
436,7 → 442,7
<source />
<comment />
<sourcelink />
<id>T9052</id>
<id>9052</id>
</test>
<test>
<address>.test@example.com</address>
444,7 → 450,7
<source />
<comment />
<sourcelink />
<id>T9053</id>
<id>9053</id>
</test>
<test>
<address>"Angela Merkel"@example.com</address>
452,7 → 458,7
<source />
<comment />
<sourcelink />
<id>T9054</id>
<id>9054</id>
</test>
<test>
<address>Abc.example.com</address>
460,7 → 466,7
<source>http://en.wikipedia.org/wiki/E-mail_address</source>
<comment>haracter @ is missing</comment>
<sourcelink />
<id>T9055</id>
<id>9055</id>
</test>
<test>
<address>Abc.@example.com</address>
468,7 → 474,7
<source />
<comment>character dot(.) is last in local part</comment>
<sourcelink />
<id>T9056</id>
<id>9056</id>
</test>
<test>
<address>Abc..123@example.com</address>
476,7 → 482,7
<source />
<comment>character dot(.) is double</comment>
<sourcelink />
<id>T9057</id>
<id>9057</id>
</test>
<test>
<address>A@b@c@example.com</address>
484,16 → 490,15
<source>http://en.wikipedia.org/wiki/E-mail_address</source>
<comment>only one @ is allowed outside quotations marks</comment>
<sourcelink />
<id>T9058</id>
<id>9058</id>
</test>
<test>
<address>()[]\;:,&lt;&gt;@example.com</address>
<valid>false</valid>
<source>http://en.wikipedia.org/wiki/E-mail_address</source>
<comment>none of the characters before the @ in this example are
allowed outside quotation marks</comment>
<comment>none of the characters before the @ in this example are allowed outside quotation marks</comment>
<sourcelink />
<id>T9059</id>
<id>9059</id>
</test>
<test>
<address>test@localhost</address>
501,7 → 506,7
<source />
<comment />
<sourcelink />
<id>T9060</id>
<id>9060</id>
</test>
<test>
<address>john@mail.invalid</address>
509,7 → 514,7
<source />
<comment />
<sourcelink />
<id>T9061</id>
<id>9061</id>
</test>
<test>
<address>john@mail.xx</address>
517,7 → 522,7
<source />
<comment />
<sourcelink />
<id>T9062</id>
<id>9062</id>
</test>
<test>
<address>foo\@bar@internet.com</address>
524,9 → 529,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
</sourcelink>
<id>T9063</id>
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111</sourcelink>
<id>9063</id>
</test>
<test>
<address>test/foo=bar@persona.com</address>
533,9 → 537,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
</sourcelink>
<id>T9064</id>
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111</sourcelink>
<id>9064</id>
</test>
<test>
<address>my..name@address.com</address>
542,9 → 545,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
</sourcelink>
<id>T9065</id>
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111</sourcelink>
<id>9065</id>
</test>
<test>
<address>.myaddress@address.com</address>
551,9 → 553,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111
</sourcelink>
<id>T9066</id>
<sourcelink>http://stackoverflow.com/questions/2514810/php-email-validation-question/2515111#2515111</sourcelink>
<id>9066</id>
</test>
<test>
<address>Aa0.!#$%&amp;'*+-/=?^_`{|}~\ \"\@\:\;@example.com</address>
561,7 → 562,7
<source />
<comment />
<sourcelink />
<id>T9067</id>
<id>9067</id>
</test>
<test>
<address>dclo@us.ibm.com</address>
568,9 → 569,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9068</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9068</id>
</test>
<test>
<address>abc\@def@example.com</address>
577,9 → 577,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9069</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9069</id>
</test>
<test>
<address>abc\\@example.com</address>
586,9 → 585,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9070</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9070</id>
</test>
<test>
<address>Fred\ Bloggs@example.com</address>
595,9 → 593,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9071</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9071</id>
</test>
<test>
<address>Joe.\\Blow@example.com</address>
604,9 → 601,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9072</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9072</id>
</test>
<test>
<address>"Abc@def"@example.com</address>
613,9 → 609,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9073</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9073</id>
</test>
<test>
<address>"Fred Bloggs"@example.com</address>
622,9 → 617,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9074</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9074</id>
</test>
<test>
<address>customer/department=shipping@example.com</address>
631,9 → 625,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9075</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9075</id>
</test>
<test>
<address>\$A12345@example.com</address>
640,9 → 633,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9076</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9076</id>
</test>
<test>
<address>!def!xyz%abc@example.com</address>
649,9 → 641,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9077</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9077</id>
</test>
<test>
<address>_somename@example.com</address>
658,9 → 649,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9078</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9078</id>
</test>
<test>
<address>user+mailbox@example.com</address>
667,9 → 657,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9079</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9079</id>
</test>
<test>
<address>peter.piper@example.com</address>
676,9 → 665,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9080</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9080</id>
</test>
<test>
<address>Doug\ \"Ace\"\ Lovell@example.com</address>
685,9 → 673,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9081</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9081</id>
</test>
<test>
<address>"Doug \"Ace\" L."@example.com</address>
694,9 → 681,8
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9082</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9082</id>
</test>
<test>
<address>abc@def@example.com</address>
703,9 → 689,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9083</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9083</id>
</test>
<test>
<address>abc\\@def@example.com</address>
712,9 → 697,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9084</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9084</id>
</test>
<test>
<address>abc\@example.com</address>
721,9 → 705,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9085</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9085</id>
</test>
<test>
<address>@example.com</address>
730,9 → 713,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9086</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9086</id>
</test>
<test>
<address>doug@</address>
739,9 → 721,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9087</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9087</id>
</test>
<test>
<address>"qu@example.com</address>
748,9 → 729,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9088</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9088</id>
</test>
<test>
<address>ote"@example.com</address>
757,9 → 737,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9089</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9089</id>
</test>
<test>
<address>.dot@example.com</address>
766,9 → 745,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9090</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9090</id>
</test>
<test>
<address>dot.@example.com</address>
775,9 → 753,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9091</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9091</id>
</test>
<test>
<address>two..dot@example.com</address>
784,9 → 761,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9092</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9092</id>
</test>
<test>
<address>"Doug "Ace" L."@example.com</address>
793,9 → 769,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9093</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9093</id>
</test>
<test>
<address>Doug\ \"Ace\"\ L\.@example.com</address>
802,9 → 777,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9094</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9094</id>
</test>
<test>
<address>hello world@example.com</address>
811,9 → 785,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9095</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9095</id>
</test>
<test>
<address>gatsby@f.sc.ot.t.f.i.tzg.era.l.d.</address>
820,9 → 793,8
<valid>false</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9096</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9096</id>
</test>
<test>
<address>{^c\@**Dog^}@cartoon.com</address>
829,8 → 801,7
<valid>true</valid>
<source />
<comment />
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2
</sourcelink>
<id>T9097</id>
<sourcelink>http://www.linuxjournal.com/article/9585?page=0,2</sourcelink>
<id>9097</id>
</test>
</tests>
/ViaThinkSoft Java Utils/test/eMailTests/SayersTests.xml
1,10 → 1,10
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE tests>
<?xml version="1.0" encoding="utf-8"?>
 
<!--
Source: http://isemail.googlecode.com/svn/trunk/tests/tests.xml
-->
<tests xmlns="http://www.w3.org/2001/XMLSchema-instance"
SchemaLocation="mailValidatorTests.xsd">
 
<tests version="1.10">
<test>
<address>first.last@example.com</address>
<valid>true</valid>
13,8 → 13,7
<id>1</id>
</test>
<test>
<address>1234567890123456789012345678901234567890123456789012345678901234@example.com
</address>
<address>1234567890123456789012345678901234567890123456789012345678901234@example.com</address>
<valid>true</valid>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
23,8 → 22,7
<test>
<address>first.last@sub.do,com</address>
<valid>false</valid>
<comment>Mistyped comma instead of dot (replaces old #3 which was the
same as #57)</comment>
<comment>Mistyped comma instead of dot (replaces old #3 which was the same as #57)</comment>
<source>Rob &lt;bob@bob.com&gt;</source>
<id>3</id>
</test>
58,24 → 56,19
<id>7</id>
</test>
<test>
<address>x@x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x2
</address>
<address>x@x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x2</address>
<valid>true</valid>
<comment>Total length reduced to 254 characters so it's still valid
</comment>
<comment>Total length reduced to 254 characters so it's still valid</comment>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
<id>8</id>
</test>
<test>
<address>1234567890123456789012345678901234567890123456789012345678@12345678901234567890123456789012345678901234567890123456789.12345678901234567890123456789012345678901234567890123456789.123456789012345678901234567890123456789012345678901234567890123.example.com
</address>
<address>1234567890123456789012345678901234567890123456789012345678@12345678901234567890123456789012345678901234567890123456789.12345678901234567890123456789012345678901234567890123456789.123456789012345678901234567890123456789012345678901234567890123.example.com</address>
<valid>true</valid>
<comment>Total length reduced to 254 characters so it's still valid
</comment>
<comment>Total length reduced to 254 characters so it's still valid</comment>
<source>RFC 3696 erratum 1690</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=1690
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=1690</sourcelink>
<id>9</id>
</test>
<test>
82,8 → 75,7
<address>first.last@[12.34.56.78]</address>
<valid>true</valid>
<source>RFC 3696 erratum 1690</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=1690
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=1690</sourcelink>
<id>10</id>
</test>
<test>
101,8 → 93,7
<id>12</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:12.34.56.78]
</address>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:12.34.56.78]</address>
<valid>true</valid>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
130,8 → 121,7
<id>16</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777:8888]
</address>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777:8888]</address>
<valid>true</valid>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
138,8 → 128,7
<id>17</id>
</test>
<test>
<address>first.last@x23456789012345678901234567890123456789012345678901234567890123.example.com
</address>
<address>first.last@x23456789012345678901234567890123456789012345678901234567890123.example.com</address>
<valid>true</valid>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
160,13 → 149,11
<id>20</id>
</test>
<test>
<address>123456789012345678901234567890123456789012345678901234567890@12345678901234567890123456789012345678901234567890123456789.12345678901234567890123456789012345678901234567890123456789.12345678901234567890123456789012345678901234567890123456789.12.example.com
</address>
<address>123456789012345678901234567890123456789012345678901234567890@12345678901234567890123456789012345678901234567890123456789.12345678901234567890123456789012345678901234567890123456789.12345678901234567890123456789012345678901234567890123456789.12.example.com</address>
<valid>false</valid>
<comment>Entire address is longer than 254 characters</comment>
<source>RFC 3696 erratum 1690</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=1690
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=1690</sourcelink>
<id>21</id>
</test>
<test>
178,8 → 165,7
<id>22</id>
</test>
<test>
<address>12345678901234567890123456789012345678901234567890123456789012345@example.com
</address>
<address>12345678901234567890123456789012345678901234567890123456789012345@example.com</address>
<valid>false</valid>
<comment>Local part more than 64 characters</comment>
<source>Dominic Sayers</source>
267,8 → 253,7
<id>33</id>
</test>
<test>
<address>x@x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456
</address>
<address>x@x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456789.x23456</address>
<valid>false</valid>
<comment>Domain exceeds 255 chars</comment>
<source>Dominic Sayers</source>
308,8 → 293,7
<id>38</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333::4444:5555:12.34.56.78]
</address>
<address>first.last@[IPv6:1111:2222:3333::4444:5555:12.34.56.78]</address>
<valid>false</valid>
<comment>Too many IPv6 groups (4 max)</comment>
<source>Dominic Sayers</source>
317,8 → 301,7
<id>39</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:12.34.56.78]
</address>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:12.34.56.78]</address>
<valid>false</valid>
<comment>Not enough IPv6 groups</comment>
<source>Dominic Sayers</source>
326,8 → 309,7
<id>40</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777:12.34.56.78]
</address>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777:12.34.56.78]</address>
<valid>false</valid>
<comment>Too many IPv6 groups (6 max)</comment>
<source>Dominic Sayers</source>
335,8 → 317,7
<id>41</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777]
</address>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777]</address>
<valid>false</valid>
<comment>Not enough IPv6 groups</comment>
<source>Dominic Sayers</source>
344,8 → 325,7
<id>42</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777:8888:9999]
</address>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:7777:8888:9999]</address>
<valid>false</valid>
<comment>Too many IPv6 groups (8 max)</comment>
<source>Dominic Sayers</source>
361,8 → 341,7
<id>44</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333::4444:5555:6666:7777]
</address>
<address>first.last@[IPv6:1111:2222:3333::4444:5555:6666:7777]</address>
<valid>false</valid>
<comment>Too many IPv6 groups (6 max)</comment>
<source>Dominic Sayers</source>
418,8 → 397,7
<id>51</id>
</test>
<test>
<address>first.last@x234567890123456789012345678901234567890123456789012345678901234.example.com
</address>
<address>first.last@x234567890123456789012345678901234567890123456789012345678901234.example.com</address>
<valid>false</valid>
<comment>Label can't be longer than 63 octets</comment>
<source>Dominic Sayers</source>
437,8 → 415,7
<address>"Fred\ Bloggs"@example.com</address>
<valid>true</valid>
<source>RFC 3696 (as amended by erratum 2005-07-09)</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246</sourcelink>
<id>54</id>
</test>
<test>
445,8 → 422,7
<address>"Joe.\\Blow"@example.com</address>
<valid>true</valid>
<source>RFC 3696 (as amended by erratum 2005-07-09)</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246</sourcelink>
<id>55</id>
</test>
<test>
453,8 → 429,7
<address>"Abc@def"@example.com</address>
<valid>true</valid>
<source>RFC 3696 (as amended by erratum 2005-07-09)</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246</sourcelink>
<id>56</id>
</test>
<test>
509,8 → 484,7
<test>
<address>abc\@def@example.com</address>
<valid>false</valid>
<comment>This example from RFC 3696 was corrected in an erratum
</comment>
<comment>This example from RFC 3696 was corrected in an erratum</comment>
<source>Doug Lovell (LinuxJournal, June 2007)</source>
<sourcelink>http://www.linuxjournal.com/article/9585</sourcelink>
<id>64</id>
518,8 → 492,7
<test>
<address>abc\\@example.com</address>
<valid>false</valid>
<comment>This example from RFC 3696 was corrected in an erratum
</comment>
<comment>This example from RFC 3696 was corrected in an erratum</comment>
<source>Doug Lovell (LinuxJournal, June 2007)</source>
<sourcelink>http://www.linuxjournal.com/article/9585</sourcelink>
<id>65</id>
662,8 → 635,7
<valid>true</valid>
<address>test@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>83</id>
</test>
<test>
670,8 → 642,7
<valid>true</valid>
<address>TEST@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>84</id>
</test>
<test>
678,8 → 649,7
<valid>true</valid>
<address>1234567890@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>85</id>
</test>
<test>
686,8 → 656,7
<valid>true</valid>
<address>test+test@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>86</id>
</test>
<test>
694,8 → 663,7
<valid>true</valid>
<address>test-test@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>87</id>
</test>
<test>
702,8 → 670,7
<valid>true</valid>
<address>t*est@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>88</id>
</test>
<test>
710,8 → 677,7
<valid>true</valid>
<address>+1~1+@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>89</id>
</test>
<test>
718,8 → 684,7
<valid>true</valid>
<address>{_test_}@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>90</id>
</test>
<test>
726,8 → 691,7
<valid>true</valid>
<address>"[[ test ]]"@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>91</id>
</test>
<test>
734,8 → 698,7
<valid>true</valid>
<address>test.test@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>92</id>
</test>
<test>
742,8 → 705,7
<valid>true</valid>
<address>"test.test"@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>93</id>
</test>
<test>
751,8 → 713,7
<address>test."test"@example.com</address>
<comment>Obsolete form, but documented in RFC 5322</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>94</id>
</test>
<test>
759,8 → 720,7
<valid>true</valid>
<address>"test@test"@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>95</id>
</test>
<test>
767,18 → 727,15
<valid>true</valid>
<address>test@123.123.123.x123</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>96</id>
</test>
<test>
<valid>false</valid>
<address>test@123.123.123.123</address>
<comment>Top Level Domain won't be all-numeric (see RFC 3696 Section
2). I disagree with Dave Child on this one.</comment>
<comment>Top Level Domain won't be all-numeric (see RFC 3696 Section 2). I disagree with Dave Child on this one.</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>97</id>
</test>
<test>
785,8 → 742,7
<valid>true</valid>
<address>test@[123.123.123.123]</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>98</id>
</test>
<test>
793,8 → 749,7
<valid>true</valid>
<address>test@example.example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>99</id>
</test>
<test>
801,8 → 756,7
<valid>true</valid>
<address>test@example.example.example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>100</id>
</test>
<test>
809,8 → 763,7
<valid>false</valid>
<address>test.example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>101</id>
</test>
<test>
817,8 → 770,7
<valid>false</valid>
<address>test.@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>102</id>
</test>
<test>
825,8 → 777,7
<valid>false</valid>
<address>test..test@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>103</id>
</test>
<test>
833,8 → 784,7
<valid>false</valid>
<address>.test@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>104</id>
</test>
<test>
841,8 → 791,7
<valid>false</valid>
<address>test@test@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>105</id>
</test>
<test>
849,8 → 798,7
<valid>false</valid>
<address>test@@example.com</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>106</id>
</test>
<test>
858,8 → 806,7
<address>-- test --@example.com</address>
<comment>No spaces allowed in local part</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>107</id>
</test>
<test>
867,8 → 814,7
<address>[test]@example.com</address>
<comment>Square brackets only allowed within quotes</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>108</id>
</test>
<test>
876,8 → 822,7
<address>"test\test"@example.com</address>
<comment>Any character can be escaped in a quoted string</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>109</id>
</test>
<test>
885,8 → 830,7
<address>"test"test"@example.com</address>
<comment>Quotes cannot be nested</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>110</id>
</test>
<test>
894,8 → 838,7
<address>()[]\;:,&gt;&lt;@example.com</address>
<comment>Disallowed Characters</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>111</id>
</test>
<test>
903,8 → 846,7
<comment>Dave Child says so</comment>
<address>test@.</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>112</id>
</test>
<test>
912,8 → 854,7
<comment>Dave Child says so</comment>
<address>test@example.</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>113</id>
</test>
<test>
921,19 → 862,15
<comment>Dave Child says so</comment>
<address>test@.org</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>114</id>
</test>
<test>
<valid>false</valid>
<address>test@123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012.com
</address>
<comment>255 characters is maximum length for domain. This is 256.
</comment>
<address>test@123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012.com</address>
<comment>255 characters is maximum length for domain. This is 256.</comment>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>115</id>
</test>
<test>
941,8 → 878,7
<comment>Dave Child says so</comment>
<address>test@example</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>116</id>
</test>
<test>
950,8 → 886,7
<comment>Dave Child says so</comment>
<address>test@[123.123.123.123</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>117</id>
</test>
<test>
959,8 → 894,7
<comment>Dave Child says so</comment>
<address>test@123.123.123.123]</address>
<source>Dave Child</source>
<sourcelink>http://code.google.com/p/php-email-address-validation/
</sourcelink>
<sourcelink>http://code.google.com/p/php-email-address-validation/</sourcelink>
<id>118</id>
</test>
<test>
968,8 → 902,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>119</id>
</test>
<test>
977,8 → 910,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>120</id>
</test>
<test>
985,8 → 917,7
<address>"test\\blah"@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>121</id>
</test>
<test>
994,28 → 925,23
<valid>true</valid>
<comment>Any character can be escaped in a quoted string</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>122</id>
</test>
<test>
<address>"test\&#13;blah"@example.com</address>
<valid>true</valid>
<comment>Quoted string specifically excludes carriage returns unless
escaped</comment>
<comment>Quoted string specifically excludes carriage returns unless escaped</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>123</id>
</test>
<test>
<address>"test&#13;blah"@example.com</address>
<valid>false</valid>
<comment>Quoted string specifically excludes carriage returns
</comment>
<comment>Quoted string specifically excludes carriage returns</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>124</id>
</test>
<test>
1022,8 → 948,7
<address>"test\"blah"@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>125</id>
</test>
<test>
1031,8 → 956,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>126</id>
</test>
<test>
1039,8 → 963,7
<address>customer/department@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>127</id>
</test>
<test>
1047,8 → 970,7
<address>_Yosemite.Sam@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>128</id>
</test>
<test>
1055,8 → 977,7
<address>~@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>129</id>
</test>
<test>
1064,8 → 985,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>130</id>
</test>
<test>
1073,8 → 993,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>131</id>
</test>
<test>
1082,8 → 1001,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>132</id>
</test>
<test>
1091,8 → 1009,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>133</id>
</test>
<test>
1099,8 → 1016,7
<address>"Austin@Powers"@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>134</id>
</test>
<test>
1107,8 → 1023,7
<address>Ima.Fool@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>135</id>
</test>
<test>
1115,8 → 1030,7
<address>"Ima.Fool"@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>136</id>
</test>
<test>
1123,8 → 1037,7
<address>"Ima Fool"@example.com</address>
<valid>true</valid>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>137</id>
</test>
<test>
1132,8 → 1045,7
<valid>false</valid>
<comment>Phil Haack says so</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>138</id>
</test>
<test>
1141,8 → 1053,7
<valid>false</valid>
<comment>Escaping can only happen in a quoted string</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>139</id>
</test>
<test>
1218,8 → 1129,7
<test>
<address>foo@[\1.2.3.4]</address>
<valid>false</valid>
<comment>RFC 5321 specifies the syntax for address-literal and does
not allow escaping</comment>
<comment>RFC 5321 specifies the syntax for address-literal and does not allow escaping</comment>
<source>Cal Henderson</source>
<sourcelink>http://code.iamcal.com/php/rfc822/</sourcelink>
<id>149</id>
1234,15 → 1144,13
<test>
<address>first."mid\dle"."last"@example.com</address>
<valid>true</valid>
<comment>Backslash can escape anything but must escape something
</comment>
<comment>Backslash can escape anything but must escape something</comment>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
<id>151</id>
</test>
<test>
<address>Test.&#13;&#10; Folding.&#13;&#10; Whitespace@example.com
</address>
<address>Test.&#13;&#10; Folding.&#13;&#10; Whitespace@example.com</address>
<valid>true</valid>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
1267,36 → 1175,29
<test>
<address>Abc\@def@example.com</address>
<valid>false</valid>
<comment>Was incorrectly given as a valid address in the original RFC
3696</comment>
<comment>Was incorrectly given as a valid address in the original RFC 3696</comment>
<source>RFC 3696 erratum 246</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246</sourcelink>
<id>155</id>
</test>
<test>
<address>Fred\ Bloggs@example.com</address>
<valid>false</valid>
<comment>Was incorrectly given as a valid address in the original RFC
3696</comment>
<comment>Was incorrectly given as a valid address in the original RFC 3696</comment>
<source>RFC 3696 erratum 246</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246</sourcelink>
<id>156</id>
</test>
<test>
<address>Joe.\\Blow@example.com</address>
<valid>false</valid>
<comment>Was incorrectly given as a valid address in the original RFC
3696</comment>
<comment>Was incorrectly given as a valid address in the original RFC 3696</comment>
<source>RFC 3696 erratum 246</source>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246
</sourcelink>
<sourcelink>http://www.rfc-editor.org/errata_search.php?rfc=3696&amp;eid=246</sourcelink>
<id>157</id>
</test>
<test>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:12.34.567.89]
</address>
<address>first.last@[IPv6:1111:2222:3333:4444:5555:6666:12.34.567.89]</address>
<valid>false</valid>
<comment>IPv4 part contains an invalid octet</comment>
<source>Cal Henderson</source>
1306,8 → 1207,7
<test>
<address>"test\&#13;&#10; blah"@example.com</address>
<valid>false</valid>
<comment>Folding white space can't appear within a quoted pair
</comment>
<comment>Folding white space can't appear within a quoted pair</comment>
<source>Cal Henderson</source>
<sourcelink>http://code.iamcal.com/php/rfc822/</sourcelink>
<id>159</id>
1315,18 → 1215,15
<test>
<address>"test&#13;&#10; blah"@example.com</address>
<valid>true</valid>
<comment>This is a valid quoted string with folding white space
</comment>
<comment>This is a valid quoted string with folding white space</comment>
<source>Phil Haack</source>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx
</sourcelink>
<sourcelink>http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx</sourcelink>
<id>160</id>
</test>
<test>
<address>{^c\@**Dog^}@cartoon.com</address>
<valid>false</valid>
<comment>This is a throwaway example from Doug Lovell's article.
Actually it's not a valid address.</comment>
<comment>This is a throwaway example from Doug Lovell's article. Actually it's not a valid address.</comment>
<source>Doug Lovell (LinuxJournal, June 2007)</source>
<sourcelink>http://www.linuxjournal.com/article/9585</sourcelink>
<id>161</id>
1374,8 → 1271,7
<test>
<address>cal(foo\)bar)@iamcal.com</address>
<valid>true</valid>
<comment>A valid address containing comments and an escaped
parenthesis</comment>
<comment>A valid address containing comments and an escaped parenthesis</comment>
<source>Cal Henderson</source>
<sourcelink>http://code.iamcal.com/php/rfc822/</sourcelink>
<id>167</id>
1413,8 → 1309,7
<id>171</id>
</test>
<test>
<address>first.(&#13;&#10; middle&#13;&#10; )last@example.com
</address>
<address>first.(&#13;&#10; middle&#13;&#10; )last@example.com</address>
<valid>true</valid>
<comment>Comment with folding white space</comment>
<source>Dominic Sayers</source>
1422,8 → 1317,7
<id>172</id>
</test>
<test>
<address>first(12345678901234567890123456789012345678901234567890)last@(1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890)example.com
</address>
<address>first(12345678901234567890123456789012345678901234567890)last@(1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890)example.com</address>
<valid>false</valid>
<comment>Too long with comments, not too long without</comment>
<source>Dominic Sayers</source>
1431,8 → 1325,7
<id>173</id>
</test>
<test>
<address>first(Welcome to&#13;&#10; the ("wonderful" (!))
world&#13;&#10; of email)@example.com</address>
<address>first(Welcome to&#13;&#10; the ("wonderful" (!)) world&#13;&#10; of email)@example.com</address>
<valid>true</valid>
<comment>Silly example from my blog post</comment>
<source>Dominic Sayers</source>
1474,8 → 1367,7
<test>
<address>first(middle)last@example.com</address>
<valid>false</valid>
<comment>Can't have a comment or white space except at an element
boundary</comment>
<comment>Can't have a comment or white space except at an element boundary</comment>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
<id>179</id>
1505,11 → 1397,9
<id>182</id>
</test>
<test>
<address>first(abc("def".ghi).mno)middle(abc("def".ghi).mno).last@(abc("def".ghi).mno)example(abc("def".ghi).mno).(abc("def".ghi).mno)com(abc("def".ghi).mno)
</address>
<address>first(abc("def".ghi).mno)middle(abc("def".ghi).mno).last@(abc("def".ghi).mno)example(abc("def".ghi).mno).(abc("def".ghi).mno)com(abc("def".ghi).mno)</address>
<valid>false</valid>
<comment>Can't have comments or white space except at an element
boundary</comment>
<comment>Can't have comments or white space except at an element boundary</comment>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
<id>183</id>
1523,11 → 1413,9
<id>184</id>
</test>
<test>
<address>first.last@x(1234567890123456789012345678901234567890123456789012345678901234567890).com
</address>
<address>first.last@x(1234567890123456789012345678901234567890123456789012345678901234567890).com</address>
<valid>true</valid>
<comment>Label is longer than 63 octets, but not with comment removed
</comment>
<comment>Label is longer than 63 octets, but not with comment removed</comment>
<source>Cal Henderson</source>
<sourcelink>http://code.iamcal.com/php/rfc822/</sourcelink>
<id>185</id>
1551,8 → 1439,7
<address>name.lastname@domain.com</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>188</id>
</test>
<test>
1559,8 → 1446,7
<address>.@</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>189</id>
</test>
<test>
1567,8 → 1453,7
<address>a@b</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>190</id>
</test>
<test>
1575,8 → 1460,7
<address>@bar.com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>191</id>
</test>
<test>
1583,8 → 1467,7
<address>@@bar.com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>192</id>
</test>
<test>
1591,8 → 1474,7
<address>a@bar.com</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>193</id>
</test>
<test>
1599,8 → 1481,7
<address>aaa.com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>194</id>
</test>
<test>
1607,8 → 1488,7
<address>aaa@.com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>195</id>
</test>
<test>
1615,8 → 1495,7
<address>aaa@.123</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>196</id>
</test>
<test>
1623,8 → 1502,7
<address>aaa@[123.123.123.123]</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>197</id>
</test>
<test>
1632,8 → 1510,7
<valid>false</valid>
<comment>extra data outside ip</comment>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>198</id>
</test>
<test>
1641,8 → 1518,7
<valid>false</valid>
<comment>not a valid IP</comment>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>199</id>
</test>
<test>
1649,8 → 1525,7
<address>a@bar.com.</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>200</id>
</test>
<test>
1657,8 → 1532,7
<address>a@bar</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>201</id>
</test>
<test>
1665,8 → 1539,7
<address>a-b@bar.com</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>202</id>
</test>
<test>
1674,8 → 1547,7
<valid>true</valid>
<comment>TLDs can be any length</comment>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>203</id>
</test>
<test>
1682,8 → 1554,7
<address>+@b.com</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>204</id>
</test>
<test>
1690,8 → 1561,7
<address>a@-b.com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>205</id>
</test>
<test>
1698,8 → 1568,7
<address>a@b-.com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>206</id>
</test>
<test>
1706,8 → 1575,7
<address>-@..com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>207</id>
</test>
<test>
1714,8 → 1582,7
<address>-@a..com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>208</id>
</test>
<test>
1722,8 → 1589,7
<address>a@b.co-foo.uk</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>209</id>
</test>
<test>
1730,8 → 1596,7
<address>"hello my name is"@stutter.com</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>210</id>
</test>
<test>
1738,8 → 1603,7
<address>"Test \"Fail\" Ing"@example.com</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>211</id>
</test>
<test>
1746,8 → 1610,7
<address>valid@special.museum</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>212</id>
</test>
<test>
1754,8 → 1617,7
<address>invalid@special.museum-</address>
<valid>false</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>213</id>
</test>
<test>
1763,8 → 1625,7
<valid>true</valid>
<comment>Disagree with Paul Gregg here</comment>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>214</id>
</test>
<test>
1772,8 → 1633,7
<valid>false</valid>
<comment>......</comment>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>215</id>
</test>
<test>
1781,8 → 1641,7
<valid>false</valid>
<comment>ip need to be []</comment>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>216</id>
</test>
<test>
1789,18 → 1648,15
<address>"Joe\\Blow"@example.com</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>217</id>
</test>
<test>
<address>Invalid \&#10; Folding \&#10; Whitespace@example.com
</address>
<address>Invalid \&#10; Folding \&#10; Whitespace@example.com</address>
<valid>false</valid>
<source>Paul Gregg</source>
<comment>This isn't FWS so Dominic Sayers says it's invalid</comment>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>218</id>
</test>
<test>
1807,8 → 1663,7
<address>HM2Kinsists@(that comments are allowed)this.is.ok</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>219</id>
</test>
<test>
1815,8 → 1670,7
<address>user%uucp!path@somehost.edu</address>
<valid>true</valid>
<source>Paul Gregg</source>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php
</sourcelink>
<sourcelink>http://pgregg.com/projects/php/code/showvalidemail.php</sourcelink>
<id>220</id>
</test>
<test>
1827,10 → 1681,7
<id>221</id>
</test>
<test>
<address> &#13;&#10; (&#13;&#10; x &#13;&#10; ) &#13;&#10;
first&#13;&#10; ( &#13;&#10; x&#13;&#10; ) &#13;&#10; .&#13;&#10; (
&#13;&#10; x) &#13;&#10; last &#13;&#10; ( x &#13;&#10; ) &#13;&#10;
@example.com</address>
<address> &#13;&#10; (&#13;&#10; x &#13;&#10; ) &#13;&#10; first&#13;&#10; ( &#13;&#10; x&#13;&#10; ) &#13;&#10; .&#13;&#10; ( &#13;&#10; x) &#13;&#10; last &#13;&#10; ( x &#13;&#10; ) &#13;&#10; @example.com</address>
<valid>true</valid>
<source>Dominic Sayers</source>
<sourcelink>http://www.dominicsayers.com/isemail</sourcelink>
1841,18 → 1692,15
<valid>true</valid>
<comment>obs-fws allows multiple lines</comment>
<source>George Pollard</source>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses
</sourcelink>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses</sourcelink>
<id>223</id>
</test>
<test>
<address>test. &#13;&#10; &#13;&#10; obs@syntax.com</address>
<valid>true</valid>
<comment>obs-fws allows multiple lines (test 2: space before break)
</comment>
<comment>obs-fws allows multiple lines (test 2: space before break)</comment>
<source>George Pollard</source>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses
</sourcelink>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses</sourcelink>
<id>224</id>
</test>
<test>
1860,8 → 1708,7
<valid>false</valid>
<comment>obs-fws must have at least one WSP per line</comment>
<source>George Pollard</source>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses
</sourcelink>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses</sourcelink>
<id>225</id>
</test>
<test>
1869,8 → 1716,7
<valid>true</valid>
<comment>can have escaped null character</comment>
<source>George Pollard</source>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses
</sourcelink>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses</sourcelink>
<id>226</id>
</test>
<test>
1878,8 → 1724,7
<valid>false</valid>
<comment>cannot have unescaped null character</comment>
<source>George Pollard</source>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses
</sourcelink>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses</sourcelink>
<id>227</id>
</test>
<test>
1887,8 → 1732,7
<valid>false</valid>
<comment>escaped null must be in quoted string</comment>
<source>George Pollard</source>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses
</sourcelink>
<sourcelink>http://porg.es/blog/properly-validating-e-mail-addresses</sourcelink>
<id>228</id>
</test>
<test>
1895,8 → 1739,7
<address>cdburgess+!#$%&amp;'*-/=?+_{}|~test@gmail.com</address>
<valid>true</valid>
<comment>Example given in comments</comment>
<source>http://www.dominicsayers.com/isemail/#comment-30024957
</source>
<source>http://www.dominicsayers.com/isemail/#comment-30024957</source>
<sourcelink>cdburgess</sourcelink>
<id>229</id>
</test>